[2810] in java-interest
Again: Moving Components
daemon@ATHENA.MIT.EDU (Sybille Hambach)
Mon Oct 16 07:33:38 1995
From: Sybille Hambach <sybille@egd.igd.fhg.de>
Date: Mon, 16 Oct 95 10:32:58 +0100
To: Sami.Shaio@Eng.Sun.COM
Cc: java-interest@java.sun.com
Hi Sami,
thanks for Your help, however, it doesn't work as I wanted.
I tried to use several Layouts (Border~, Card~, ect.), I even tried to inherit
from Frame instead of Panel but I couldn't move the Components. Never!
Using BorderLayout I had all Components (six TextFields and three Canvases)
layed out one on top of the other in the upper left corner.
It just worked as I inherited from Applet using BorderLayout. In this case,
every Component appeared where it should and had the right size, too.
There is another thing I am wondering about. If I create a new TextField
without reshaping, it is just a little rectangle, not a TextField at all.
By the way, what I want to write is a Color Editor where you select colors on a
canavs or alternatively via TextFields. I'm trying to use PreBeta1.
Hope you can help again,
Sybille.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com