🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JScrollPane and JTable Problems

#11236
From: chandika
Date: Sun, 20 Jun 1999 00:00
22 lines
1188 bytes
I have several newbie querries. Any help will be greatly appreciated.

1)
I have a JTable which displays information from the database. When data is
being editted and the 'TAB' is pressed, the focus just goes to the next
component rather than the next field in the editted row in the table.
How can I change the tab order so that pressing tab within the table
navigates the fields?

2)
I have dropped a JTable into a  JScrollPane. The hidden part of the JTable
is
not repainted after the scrollbar is dragged. Repainting works fine
with java.awt.ScrollPane! Is this a known problem? is there are workaround
to this?

3)
How can I attach a right-click popup menu to a swing component.


I am using swing 1.0.1.
Technical Details
Message-ID: <7km33g$5vk8@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c412781250ee3b92,start
X-Google-Attributes: gid111d45,public
From: <chandika@websoft.freeserve.co.uk>
Subject: JScrollPane and JTable Problems
Date: 1999/06/20
Message-ID: <7km33g$5vk8@forums.borland.com>
X-Deja-AN: 492211564
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing