Article View: borland.public.jbuilder.java.swing
Article #13103Re: JSplitPanel and JClassChart behaviour
From: Vasudevan Srinivasan
Date: Tue, 22 Sep 1998 00:00
Date: Tue, 22 Sep 1998 00:00
31 lines
2011 bytes
2011 bytes
Hi, I wanted to stick to Swing components only and thats why I ran into this problem. Half-heartedly I then used splitPanel from borland instead and got it working. In SplitPanel you can set the color of the divider also. The funny thing is, this SplitPanel is also a LightWeight component (as stated in HintsAndTips.txt) and it works ! And JClassChart is indeed heavyweight ! Later I found out in the java developer forum that AWT components are always Opaque as opposed to swing or borland components (which can be either) and thats why I wasnt able to find any setOpaque(false) function in AWT libs. Peter Nguyen wrote: > The JClassChart may be an AWT component (heavyweight). Since JSplitPanels > is swing component (lightweight), the form will not display property (or > refresh). There is an ariticle on mixing heavy weight and light weight > components on java developer connection somewhere. > > Peter > > Vasudevan Srinivasan wrote in message <3606677F.D78899CF@netrisk.com>... > >hi > >im using JSplitPanels and JClassChart component in one of the panels. > >When I resize the JSplitPanel, the splitter bar is hidden by the > >JClassChart. It is visible on adjacent panels where there are other > >components like ScrollPane etc. The splitter just disappears on > >JClassChart compo. Is there any method / property to correct this > >behaviour. I didnt find any setOpaque method. > >Thanks > >Vasu > >
Technical Details
Message-ID:
<3607A928.28F585FA@netrisk.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3606677F.D78899CF@netrisk.com> <6u5vdr$m2q13@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5b036ae2f9b61069 X-Google-Attributes: gid111d45,public From: Vasudevan Srinivasan <vasudevan@netrisk.com> Subject: Re: JSplitPanel and JClassChart behaviour Date: 1998/09/22 Message-ID: <3607A928.28F585FA@netrisk.com> X-Deja-AN: 393636797 Content-Transfer-Encoding: 7bit References: <3606677F.D78899CF@netrisk.com> <6u5vdr$m2q13@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: NetRisk Inc. Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing