This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
resizes in java
Posted by shaun on January 09, 2001 at 5:27 AM
> My problem is that
> I have created a Java applet which will be in a table in html page.
> The applet gets called with
> Width and Height at 100% and the table height is 90% and width is 90%.
> When I run it through MSIE 5.0
> and I resize the page, the applet in the table resizes beautifully.
> This doesn't happen with Netscape 4.7. Netscape even uses
> . My questions are 2:
> 1) How can I catch the resize event?
> 2) At what point to resize the applet (I've noticed that
> it doesn't keep the new size when resizing in start(), however
> it does it when resizing in paint(Graphics g).
> Or if I am asking the wrong questions, just help
> me to resize it in Netscape.
> Any help appreciated. Please include a personal copy
> at email@example.com
don�t know if this answers your question or not... I�m looking for answers to similar issues myself...