[2405] in java-interest

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

Re: Why is class String final ?????????

daemon@ATHENA.MIT.EDU (dufourd@enst.enst.fr)
Sat Sep 30 10:12:57 1995

From: dufourd@enst.enst.fr
To: Tako Schotanus <Tako.Schotanus@bouw.tno.nl>
Cc: dufourd@enst.enst.fr, java-interest@java.sun.com
In-Reply-To: Your message of "Fri, 29 Sep 95 17:06:14."
             <01BA8E8D.E3E860A0@takont.bouw.tno.nl> 
Date: Fri, 29 Sep 95 17:18:07 +0100

>Could you explain some more? Because what you say sounds positively
>"hackerish" (the opposite of elegant in this case ;) to me!
OK.
The String passed to addLayoutComponent is a name, but
conceptually it is all that the layout manager needs to
recognize objects and lay them out. For example, with
BorderLayout, the name is not only a name, but also a location.
Thus confusion is already made between location data and name data.

I only wished to go further in that direction, passing a name +
a reference component + a relative position + offsets. Actually,
that amounted to splitting information into name string and rest.
The use of the name string is kind of kludgy in the first place.

Well, I did something more "proper", and ended up with
a working layout manager anyway.

JCD


-
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