🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18563

panel.doLayout() causing trouble in JB2

#18563
From: Alex Humphreys
Date: Wed, 10 Jun 1998 00:00
12 lines
1005 bytes
I have a panel with controls that change based on user-defined events.
In JB1, I was doing a panel.doLayout() after applying showing the new
buttons and such.  Now, for some reason the doLayout causes the new
buttons to be seen and such, but they appear half-off the panel at the
top of the screen.   Also, I get some junk seen behind the visible
controls that are set disabled.

Any ideas?  repaint() on the panel doesn't seem to do anything.  I'm
using jbcl controls, mostly.

Thanks.
Technical Details
Message-ID: <357ECFFA.44F0D700@sema4.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,601479374092cb5e,start
X-Google-Attributes: gidf74b3,public
From: Alex Humphreys <ahumphreys@sema4.com>
Subject: panel.doLayout() causing trouble in JB2
Date: 1998/06/10
Message-ID: <357ECFFA.44F0D700@sema4.com>
X-Deja-AN: 361444042
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language