• Post Reply Bookmark Topic Watch Topic
  • New Topic

Resizing Applets in Netscape 4.7  RSS feed

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I run a Java Tree inside a adjustable frame. The tree
displays the contents of a database.
My problem is that sometimes I need to enlarge the
frame, to show deeper levels. MSIE 5.0 will handle it
beautifully. Netscape 4.7, on the other hand, refuses
to resize the applet. The applet is called with width and
height of 100%. Initial frame size is 300 px.
After the resize applet.getSize shows 300 px in Netscape.
Even if I try an explicit resize in applet.start it
will still show 300 px. Only solution if I try it
from within paint. But then how can I catch the resize
Any ideas? I noticed someone allready complaining about
his applet flickering when resizing with Netscape.
I wish I could be that lucky!
Thanks. Please include a personal copy to nval@atkosoft.com.
Nikos Balkanas
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!