File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT / JFace and the fly likes JTable listener Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "JTable listener" Watch "JTable listener" New topic
Author

JTable listener

selvas kumars
Ranch Hand

Joined: Jan 06, 2001
Posts: 115
Hi folks,
What will be the listener for editing a cell, so i can do some validations??
regards,
selva.
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
If you use your own DefaultTableModel, setValueAt() method is a good place for it. You can also create custom cell editors to to the job.
selvas kumars
Ranch Hand

Joined: Jan 06, 2001
Posts: 115
Hi paul,
it's working fine..
 
 
subject: JTable listener
 
Threads others viewed
what to put here
can't enable or disable events
How to load file at the time of start of the application
? for web-applications
servlet startup order
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com