[1499] in java-interest
The Window of an Applet??
daemon@ATHENA.MIT.EDU (Henry Koh Li-Chieh)
Wed Sep 6 06:49:11 1995
Date: Wed, 6 Sep 1995 14:22:06 +0900 (SDT)
From: Henry Koh Li-Chieh <henrykoh@regent.ncb.gov.sg>
To: java-interest@java.sun.com
In-Reply-To: <01BA7BE7.B16ECB40@pdial3.brainiac.com>
Hi fellow Java programmers,
How do I get the Window parent of an Applet for me to spawn other objects
like TextArea or TextField? I have a few TextAreas in my applet, but the
Container I used to construct the TextAreas was the one in
Applet.item.parent,
which gives the parent of the whole html page, ie the coordinate (0,0)
points to the origin of the whole html document rather than the origin of
the applet. I guess you can imagine the problems in aligning text windows
in this way!
So which Container do I use to construct the TextArea such that (0,0)
refers to the origin of the Applet?
Thanks
Henry
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com