🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help:jdbTable without scrollbars...?

#30
From: Jeroen Zwartepoorte
Date: Mon, 07 Dec 1998 00:00
16 lines
1204 bytes
koadam wrote:
> 
> Hi All,
> 
> I use a jdbTable component on my testapp's main form.
> My problem is: the jdbTable comp has no scrollbars, and if
> I move down the table's cellcursor the rows dont scroll!
> Is there any hidden property, or something else working
> solution?

You need to put your JTable in a JScrollPane. You just drop a
JScrollPane in the designer and then drop a JTable on top of it.

The JScrollPane provides the scrollbar functionality you're looking for.

Jeroen Zwartepoorte
Technical Details
Message-ID: <366C1A7B.68C2BC72@xs4all.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <366BA44B.21811B47@freemail.c3.hu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,94cd86f8ee18db97
X-Google-Attributes: gid111d45,public
X-Google-Thread: 1073da,94cd86f8ee18db97
X-Google-Attributes: gid1073da,public
From: Jeroen Zwartepoorte <Jeroen@xs4all.nl>
Subject: Re: Help:jdbTable without scrollbars...?
Date: 1998/12/07
Message-ID: <366C1A7B.68C2BC72@xs4all.nl>
X-Deja-AN: 419704497
Content-Transfer-Encoding: 7bit
References: <366BA44B.21811B47@freemail.c3.hu>
To: koadam@freemail.c3.hu
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.database