File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
and override the tableChanged() method.
It is sorta covered in the
JavaRanch Style Guide
subject: Detecting changes in JTable cells
Detecting double clicks in a JTable
JTable and popup
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014