🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTable (nightmare)

#9983
From: Alexandre Reis
Date: Mon, 06 Dec 1999 00:00
16 lines
979 bytes
I have a JTable that I use for input.  When the user clicks a button, I
get the items from the table and build a query.

My problem is:

If the user types something on a cell but does not move the focus from
that field or press the Enter key, the tablemodel is not updated.

If the user is on the last row of the table and press Enter, I have the
same problem.

Is there a way to make JTable update its model as the user is typing in?

Thanks in advance.

Alex.
Technical Details
Message-ID: <384C0F30.C378165B@mitra.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,6c8661f95f5a553d,start
X-Google-Attributes: gid111d45,public
From: Alexandre Reis <areis@mitra.com>
Subject: JTable (nightmare)
Date: 1999/12/06
Message-ID: <384C0F30.C378165B@mitra.com>
X-Deja-AN: 557377654
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing