[2745] in java-interest
Re: AWT behavior
daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Thu Oct 12 14:41:18 1995
Date: Thu, 12 Oct 1995 09:33:02 -0700
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
To: ser@jersey.uoregon.edu
Cc: java-interest@java.Eng.Sun.COM
Hi Sean,
> There has been mention of problems with the Layout managers in the Beta java
> release. I never did see anybody from the JDT admit that it is a problem with
> AWT. By "it" I mean unpredictable and incorrect layout of items. I'd like to
> know if there isn't a problem, because that then means that I'm doing
> something wrong, and I can then ask stupid questions with impunity.
Yes there are some problems with layout. Specially if you are re-laying
out containers that are already visible. We're still looking into it.
The problem seems to be worse on Solaris 2.5.
> Secondly, I find it curious that the only applets that seem to work with
> Netscape 2.0b are written a bit differently than normal applets. That is,
> they in general contain a "main" and put objects in their own frames, etc,
> which Netscape then sucks up into the browser. Or at least this is the
> impression I get. Other applets, ones written as in the Alpha release, with
> "init", "paint", "start", etc. in general do not work.
Huh? If an applet works in the JDK, it will eventually work in Netscape.
> My question is not whether Netscape interprets applets correctly; I'd be
> rather suprised if it did. What I'd like to know is whether the applet
> paradigm is going to follow more the Alpha release, where applets looked
> nothing like stand-alone programs, or is applet construction looking more like
> programs which could be run by themselves?
Applets are embeddable. You need a container to stick them into. We have
build a container (AppletPanel) that you could use to display any applet in
any Java program.
> Oh, and how do you get "java" to pre-interpret bytecode, to get the fabled
> improved performance?
I'm not sure why you think native code generation is part of
the prebeta1 release.
Have fun,
Arthur van Hoff
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com