Article View: borland.public.jbuilder.java.language
Article #18563panel.doLayout() causing trouble in JB2
From: Alex Humphreys
Date: Wed, 10 Jun 1998 00:00
Date: Wed, 10 Jun 1998 00:00
12 lines
1005 bytes
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-mailShow 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