A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Swing / AWT / SWT
Detecting changes in JTable cells
Joined: Oct 18, 2004
Nov 15, 2004 05:00:00
I am new to
. Here I have a Jtable with one of the columns having a editable
. How can I detect the entry made by the user.
Also a popup menu is availed to select a label. If selected the 1st column must show a icon. How can I detect this activity and set the corresponding icon.
Joined: Sep 29, 2004
Nov 15, 2004 07:21:00
Your class should extend TableModelListener and override the tableChanged() method.
I agree. Here's the link:
subject: Detecting changes in JTable cells
JTable and popup
Detecting double clicks in a JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015