• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

resize problem in Netscape

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
i embed an applet in a html page with following code:
< applet codebase="." code="x.class" width=50% height=50%>
< /applet>
when resize browser in IE,the applet will change dynamically.
But in Netscape 4.7,the applet size will not change.
How to solve this problem?
Thanks for your answer in advance.
Edited by Cindy to get the HTML to display instead of execute.
[This message has been edited by Cindy Glass (edited February 09, 2001).]
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lets move this to applets and see if you get an answer over there.
 
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rose!
I tried using both Netscape 4.7 and IE 5 to open an html page with an embedded applet (width and height set to 50%) and resize them. They both worked as expected. Is it possible that something in your Java code is causing this? It might be easier to tell if you could post your code. I do not see anything wrong with the way you set up your html.
Stephanie
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are a couple articles on the JavaWorld website that might have an answer to your problem.
Java Tip 8: Threads, Netscape, and the resize problem
How to deal with applet resizing in Netscape Navigator
http://www.javaworld.com/javaworld/javatips/jw-javatip8.html
Java Tip 9: More on threads, Netscape, and the resize problem
Continued discussion of how to deal with applet resizing in Netscape Navigator
http://www.javaworld.com/javaworld/javatips/jw-javatip9.html
 
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic