aspose file tools*
The moose likes Applets and the fly likes resize problem in Netscape Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "resize problem in Netscape" Watch "resize problem in Netscape" New topic
Author

resize problem in Netscape

rose deng
Ranch Hand

Joined: Dec 29, 2000
Posts: 78
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

Joined: Sep 29, 2000
Posts: 8521
Lets move this to applets and see if you get an answer over there.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Stephanie Grasson
Ranch Hand

Joined: Jun 14, 2000
Posts: 347
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

Joined: Jan 05, 2001
Posts: 81
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: resize problem in Netscape