[3012] in java-interest

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

Re: applet width and height vs resize

daemon@ATHENA.MIT.EDU (Ed Anuff)
Thu Oct 26 21:40:20 1995

Date: Thu, 26 Oct 1995 10:52:38 -0800
To: java-interest@java.sun.com
From: edanuff@protagonist.com (Ed Anuff)

Laura Lemay, Killer of Trees wrote:
>That's precisely what I thought it would be doing, and thats the way
>I think it *should* behave, based on similar attributes in <IMG>.  However....
>
Here's what I've been able to determine:

According to the release notes and the <APPLET> info on AVH's page, it
appears that WIDTH and HEIGHT are required as part of the <APPLET> tag.  If
the applet resizes itself to a different size, what happens is going to
depend on the browser.  From comments by Sun people on this list as well as
some of the experiences posted by others, I gather that some browsers may
choose to relayout the page to accomadate the new applet size, while others
may either put scroll bars around the applet, or clip it to the HTML
dimensions.  The ImageTest applet reshapes itself in its init() method, but
this is ignored by both Netscape and Applet Viewer.

If an applet is also be able to function as a standalone application, it
will usually resize its frame.  I dont think that applets are supposed to
have resize in their init() methods anymore.

Ed



Ed Anuff
Protagonist Interactive
edanuff@protagonist.com
http://www.protagonist.com/


-
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