πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: FlowLayout and JScrollPane

#7864
From: Joi Ellis [TeamB]
Date: Sun, 03 Dec 2000 00:00
16 lines
1212 bytes
"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: <90e6a9$k61@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <90dkq2$fr4@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: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: FlowLayout and JScrollPane
Date: 2000/12/03
Message-ID: <90e6a9$k61@bornews.inprise.com>
X-Deja-AN: 700666792
Content-Transfer-Encoding: 8bit
References: <90dkq2$fr4@bornews.inprise.com>
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=ISO-8859-1
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14-5.0 (i686))
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing