Article View: borland.public.jbuilder.java.swing
Article #8654JSplitPane: setResizeWeight()
From: Robert Bj�rn
Date: Thu, 27 Jul 2000 00:00
Date: Thu, 27 Jul 2000 00:00
8 lines
842 bytes
842 bytes
When I use setResizeWeight(1,0) on my split pane to ensure that the left component gets the extra space when the pane is resized, the right component is sized according to its mimimum size by default. Is there any way to avoid this, and instead have it resize to preferred size, as usual? resetToPreferredSized() does not appear to work. Regards, Robert
Technical Details
Message-ID:
<39807ff6_1@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,9ada1a7f70a96f31,start X-Google-Attributes: gid111d45,public From: "Robert Bj�rn" <rbj@home.se> Subject: JSplitPane: setResizeWeight() Date: 2000/07/27 Message-ID: <39807ff6_1@dnews> X-Deja-AN: 651514009 X-Trace: 27 Jul 2000 11:31:18 -0800, 193.10.251.69 X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: borland.public.jbuilder.java.swing X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700