🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JSplitPane -- setting preferred and minimum sizes does not seem to help

#8369
From: Ben Wimpory
Date: Thu, 14 Sep 2000 00:00
41 lines
1959 bytes
Has anyone found a solution to this problem?

I can get the divider location to reset by:

1. Changing the divider location number in the source code window
2. Closing and reloading the project
3. Running the project in the debugger.

Thanks in advance,

--Ben

"Robert Bj�rn" <rbj@home.se> wrote:
>Hello.
>
>I am a new member of this newsgroup, and a new user of JBuilder. I have
>found it to be an incredible tool. I was not as found of C++ Builder and was
>very pleasantly surprised by this product.
>
>However, I am having endless trouble with JSplitPane. A search of this
>newsgroup revealed some helpful advise such as setting appropriate minimum
>and preferred size of components contained inside, but that did not make any
>difference here. The application appears to run fine but in the designer the
>separator always jumps back to the first position.
>
>My layout consists of two JPanels, each with a JScrollPane inside. The
>JScrollPanes in turn contain a JEditorPane each. I have tried setting
>minimum and preferred sizes in the panel as well as the scrollpane -- to no
>avail.
>
>Any ideas? Is there a workaround at all? Obviously, this problem makes
>JBuilder very difficult to use for designing windows containing JSplitPanes.
>
>Thanks in advance,
>
>Robert Bj�rn
>rob@cardolan.com
>
>
>
Technical Details
Message-ID: <39c095ac_2@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <397f69ae_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,3a3c5baa887d7779
X-Google-Attributes: gid111d45,public
From: "Ben Wimpory" <ben.wimpory@arccores.com>
Subject: Re: JSplitPane -- setting preferred and minimum sizes does not seem to help
Date: 2000/09/14
Message-ID: <39c095ac_2@dnews>
X-Deja-AN: 669555594
Sender: "Ben Wimpory" <ben.wimpory@arccores.com>
References: <397f69ae_1@dnews> 
X-Trace: 14 Sep 2000 02:09:00 -0800, 207.105.83.65
Reply-To: "Ben Wimpory" <ben.wimpory@arccores.com>
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 194.202.198.225 194.202.198.225