The Container methods add( Component comp ) and add( String name, Component comp ) will throw an IllegalArgumentException if comp is a: a) button b) list c) window d) textarea e) container that contains this container
C - Window is described in API as a top-level container - it cannot be inside another container. E - Take an envelope. Place envelope inside itself. If you can do this, tell us how, and we can write to Sun and tell them how they can implement a Container which contains itself.
"I'm not back." - Bill Harding, Twister
You would be much easier to understand if you took that bucket off of your head. And that goes for the tiny ad too!
a bit of art, as a gift, that will fit in a stocking