Article View: borland.public.jbuilder.java.swing
Article #7868Re: FlowLayout and JScrollPane
From: Thomas G�lden (p)
Date: Mon, 04 Dec 2000 00:00
Date: Mon, 04 Dec 2000 00:00
36 lines
1771 bytes
1771 bytes
Joi, I tried to set the horizontal scrollbar to NEVER, however, in this case the scrollbar does not show up indeed, but the rows in the Flow Layout are not wrapped. The reason I'd like to have the original behaviour in FlowLayout even within a scrollpane is that it accomodates automatically, if the user resizes the window. Thanks Thomas G�lden Thomas.Guelden@t-online.de "Joi Ellis [TeamB]" <joi@aravox.com> schrieb im Newsbeitrag news:90e6a9$k61@bornews.inprise.com... > "Thomas G�lden \(p\)" <Thomas.Guelden@t-online.de> wrote: > > > I would like to have the original behaviour of my FlowLayout kept, and only > > have a vertical scrollbar created, when I have to many rows for my panel to > > display. > > > How can I achive this behaviour ? > > Look at the methods available on JScrollPane. There are several which > control the creation policy for horizontal and vertical scroll brs. > Tell your JScrollPane it is never to create horizonatl scroll bars. > > -- > Joi Ellis (TeamB) > No direct email, please. > For best results, post on news server newsgroups.borland.com!
Technical Details
Message-ID:
<90gn8o$ltm4@bornews.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<90dkq2$fr4@bornews.inprise.com> <90e6a9$k61@bornews.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,282a839afa7c07f X-Google-Attributes: gid111d45,public From: "Thomas G�lden \(p\)" <Thomas.Guelden@t-online.de> Subject: Re: FlowLayout and JScrollPane Date: 2000/12/04 Message-ID: <90gn8o$ltm4@bornews.inprise.com> X-Deja-AN: 701036381 References: <90dkq2$fr4@bornews.inprise.com> <90e6a9$k61@bornews.inprise.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Organization: Bayerisches Geologisches Landesamt X-MSMail-Priority: Normal Reply-To: "Thomas G�lden \(p\)" <Thomas.Guelden@t-online.de> Newsgroups: borland.public.jbuilder.java.swing