• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

resize problem in Netscape

 
rose deng
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • 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).]
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lets move this to applets and see if you get an answer over there.
 
Stephanie Grasson
Ranch Hand
Posts: 347
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Daniel Olson
Ranch Hand
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic