[4336] in java-interest
Re: Canvas as a container
daemon@ATHENA.MIT.EDU (Pat Niemeyer)
Tue Dec 19 07:39:21 1995
Date: Tue, 19 Dec 1995 04:48:35 -0600 (CST)
From: Pat Niemeyer <pat@icon-stl.net>
To: Nik Barthelemy <nbarthel@shrine.cyber.ad.jp>
cc: java-interest@java.sun.com
In-Reply-To: <Pine.LNX.3.91.951219150313.23086D-100000@shrine.cyber.ad.jp>
On Tue, 19 Dec 1995, Nik Barthelemy wrote:
> I have been wishing that a canvas was a container lately. Would it be
> possible to use the canvas peer from the toolkit in a subclass of
> container?? I want canvases in canvases in canvases (you can probably
> guess why) to take advantage of the lovely features of containers.
>
> I want something like this:
...
>
> In other words just override addnotify in panel so thatr I can have an
Ack!!!!!
Use a Panel, that's what they're there for.
You should be able to do everything just the same with a Panel.
(at least, eventually)
Pat
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com