[120] in java-interest

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

Can't reorder/remove children in AWT ?!?

daemon@ATHENA.MIT.EDU (Scott Hudson)
Fri May 26 16:21:55 1995

From: hudson@cc.gatech.edu (Scott Hudson)
To: java-interest@java.Eng.Sun.COM
Date: Thu, 25 May 1995 21:33:10 -0400 (EDT)

I don't see how this could be right, but it appears that there is no
way to reorder or remove children from an awt.Container object.
Containers only seem to support addChild() and getChild() methods, and
in fact ChildList seems to be an "add-only" structure.  Further, 
addChild() only adds to the end of the child list, there doesn't seem
to be any way to add in the middle of the list.  

There is a whole boat load of things that this is going to make either
difficult or impossible to deal with.  Topping the list are various
sorts of drag and drop interactions which require removing an object
from one container and putting it in another, as well as any sort of
layered output where the objects could be moved to the front or back
(e.g. in a typical drawing program).

Let me know if I've missed something.

Scott Hudson
http://www.cc.gatech.edu/gvu/people/Faculty/Scott.E.Hudson.html

-
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