🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10942

Re: JSplitPane - how to control divider location?

#10942
From: Lois Neo
Date: Wed, 28 Jul 1999 00:00
28 lines
1617 bytes
<Tad Frysinger (TeamB) (Tad Frysinger)> wrote in message
news:MPG.1207bb7bb5e3ffe2989686@forums.borland.com...
> >
> Be sure that the splitpane that is incorporated within the other has a
> null layout.  This works for me:
>
>       // Set the SplitPanel appropriately
>       masterSplit.setOneTouchExpandable(true);
>       masterSplit.setDividerSize(5);
>       subSplit.setOneTouchExpandable(true);
>       subSplit.setDividerSize(5);
>       subSplit.setTopComponent(conControlPanel);
>       subSplit.setBottomComponent(SRBean);
>       subSplit.setBorder( null );
>
>       masterSplit.setLeftComponent( conMetaTree );  // a JTree
>       masterSplit.setRightComponent( subSplit );    // The other splitter
>       MasterPanel.add(masterSplit, BorderLayout.CENTER);
>
> Tad Frysinger (TeamB)

what has it got to do with another splitpane? For my case is a scrollPane...
should I set null layout????

--
Thanks for any help given

Lois
Technical Details
Message-ID: <7nm9f5$74a2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7nl0ch$5ho11@forums.borland.com> <MPG.1207bb7bb5e3ffe2989686@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d93cae09098feac5
X-Google-Attributes: gid111d45,public
From: "Lois Neo" <slneo@cybergal.com>
Subject: Re: JSplitPane - how to control divider location?
Date: 1999/07/28
Message-ID: <7nm9f5$74a2@forums.borland.com>
X-Deja-AN: 506083442
References: <7nl0ch$5ho11@forums.borland.com> <MPG.1207bb7bb5e3ffe2989686@forums.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Reply-To: "Lois Neo" <slneo@cybergal.com>
Newsgroups: borland.public.jbuilder.java.swing