🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to a scrollable JTable with JScrollPane?

#39
From: Uday Prajapati
Date: Wed, 24 May 2000 00:00
15 lines
1466 bytes
For the scroll bars to be shown the size of the table
should be greater than the viewport of the scrollpane.

Hannes Heckner wrote:

> Hi,
>
> I want to use JScrollPane to have a scrollable JTable.
> I already added my JTable to the JScrollPane and set
> the scroll policy to AS_NEEDED.
>
> If you know a solution to this problem, please submit it to http://www.the-codebook.com/show_code.asp?ProblemId=1520
>
> +++++++++++ Posted via The-Codebook.Com, The Source for Developers +++++++++++
> http://www.The-Codebook.com/                      Java, VisualBasic, VisualC++
Technical Details
Message-ID: <392B3939.D306395F@fast.fujitsu.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <958727087604@ixos.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,916da7df54bdc42d
X-Google-Attributes: gid111d45,public
X-Google-Thread: 10fd6d,916da7df54bdc42d
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: fbe9c,916da7df54bdc42d
X-Google-Attributes: gidfbe9c,public
X-Google-Thread: 10a146,916da7df54bdc42d
X-Google-Attributes: gid10a146,public
From: Uday Prajapati <uday@fast.fujitsu.com.au>
Subject: Re: How to a scrollable JTable with JScrollPane?
Date: 2000/05/24
Message-ID: <392B3939.D306395F@fast.fujitsu.com.au>
X-Deja-AN: 626535123
Content-Transfer-Encoding: 7bit
References: <958727087604@ixos.de>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Fujitsu Australia Ltd
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.java,comp.lang.java.gui,comp.lang.java.programmer