[1575] 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 (Mike Christiansen)
Fri Sep 8 08:17:37 1995

To: Nicholas Geh <nik@mailhub.ncb.gov.sg>, java-interest@java.sun.com
From: mikec@metronet.com (Mike Christiansen)
Date: Tue, 8 Aug 1995 04:30:16 LOCAL

In article  Nicholas Geh <nik@mailhub.ncb.gov.sg> writes:
>Date: Thu, 7 Sep 1995 12:17:59 +0900 (SDT)
>From: Nicholas Geh <nik@mailhub.ncb.gov.sg>
>To: java-interest@java.sun.com
>Subject: Re: The Window of an Applet??

>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. 

ParcPlace Smalltalk has provided methods in its UI Building classes which are 
called at specific points in the "lifetime" of an interface. These methods 
have names like "preOpenWith:" "postOpenWith:", "preCloseWith:", and
"closeRequest". The idea of these services is to provide hooks to the 
developer allowing them to better control the placement and L&F of their 
interfaces. Is there something to learn here?

Mike
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Mike Christiansen
mikec@metronet.com

-
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