[3041] in java-interest

home help back first fref pref prev next nref lref last post

snapping applet width

daemon@ATHENA.MIT.EDU (Suzanna Lewis)
Fri Oct 27 15:21:49 1995

Date: Fri, 27 Oct 1995 09:44:16 -0700
From: Suzanna Lewis <suzi@fruitfly.berkeley.edu>
To: java-interest@java.Eng.Sun.COM


Hi someone,

My application includes displaying an indefinitely long string (a DNA
sequence).  The most desirable behaviour would be to have the width of
the applet snap to the maximum that is currently visible in the
browser.  Furthermore if the user resized the browser window then the
applet should follow suit and resize accordingly.

In the alpha version I had this sort of working (limited by the fact
that I wasn't able to capture the resize event directly, only catching
it when some other event came down to the applet).

In the pre-beta version it isn't immediately obvious to me how to
locate the information.  The parental width information only contains
width as it is set in the html file. Is snapping to the browser width
philosophically at odds to the browser-applet relationship?  I hope
I haven't missed something obvious, and any help/information is
appreciated.

-S
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post