The Artima Developer Community
Sponsored Link

Java Answers Forum
JTable question

2 replies on 1 page. Most recent reply: Aug 31, 2005 10:18 PM by Matthias Neumair

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

JTable question Posted: Aug 31, 2005 5:07 AM
Reply to this message Reply
Advertisement
What handler / listener do I need if I want to check if a field in a table has been altered by user input?


Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: JTable question Posted: Aug 31, 2005 6:36 AM
Reply to this message Reply
If I'm not mistaken you have to add a TableModelListener
not quite sure though. Just assuming that if you get
each cell value via your TableModel, it should make sense
that when the value of a cell changes a TableModelListener
would be what detects it.

Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: JTable question Posted: Aug 31, 2005 10:18 PM
Reply to this message Reply
Thanks, I'll try that.

Flat View: This topic has 2 replies on 1 page
Topic: Replace Panel Previous Topic   Next Topic Topic: ActionMap Ctl Space

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use