[1536] in java-interest

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

Re: The Window of an Applet??

daemon@ATHENA.MIT.EDU (Nicholas Geh)
Thu Sep 7 05:28:19 1995

Date: Thu, 7 Sep 1995 12:17:59 +0900 (SDT)
From: Nicholas Geh <nik@mailhub.ncb.gov.sg>
To: java-interest@java.sun.com
In-Reply-To: <Pine.SGI.3.91.950907103343.8640A-100000@regent.ncb.gov.sg>



On Thu, 7 Sep 1995, Nicholas Geh wrote:

OK, I solved the problem. The thing I did was to grab the value of iten.x
and item.y during the init() method. This is wrong because when init is
called, the applet origin would not have been determined yet. What I
should have done was to grab the values during the start() method, by
which time the origin of the applet would have been determined by the
browser. 

Correct me if anyone thinks I've got the wrong idea (again!)

Thanks
Nik

> Hi guys,
> 
> I tried to do that, but (item.x,item.y) still refers to the origin of the 
> html document rather than the applet. As a result, all my TextAreas are 
> clustered at the top-left corner of the html document, even though they 
> are from different applets within the html document.
> 
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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