[2155] in java-interest
Re: GridLayout weirdness...
daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Tue Sep 26 07:41:59 1995
Date: Mon, 25 Sep 1995 09:52:11 -0800 (PDT)
From: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
Reply-To: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
To: Pat Niemeyer <pat@icon-stl.net>
Cc: java-interest@java.Eng.Sun.COM
Hi Pat,
> Am I missing something or does the following code behave in unexpected ways?
>
> I am trying to create a grid of four components, one of which
> is a panel, also with four components.
>
> When the panel layout is set to GridLayout its first two buttons never
> appear. When it is set to FlowLayout all is well unless I resize the
> appletviewer window, in which case the panel gets very confused.
>
> I have also tried adding the empty panel first and then it's components,
> which the same results. (I wouldn't have expected this to make a difference)
> Any ideas?
Have you tried refreshing the window? If the buttons appear after that it is
probably the repaint bug. We'll fix that in the next release.
Have fun,
Arthur van Hoff
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com