A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Developer Certification (SCJD/OCMJD)
Is a table listener needed to update a JTable?
Joined: Jul 01, 2004
Dec 10, 2004 09:02:00
I've been having a problem refreshing data in my
, and everyone says to use
However, the API doc for this method says
Notifies all listeners that all cell values in the table's rows may have changed.
So heres my question: Do I need to register/create a table listener? And if so, how do I do it?
Code example would be perfect!
SCJD, SCBCD, SCJP
Joined: May 22, 2004
Dec 11, 2004 21:37:00
Two TableListeners are added implicitly to the
when you created it, as such there is no need to add your own Listeners, unless you want other custom actions to be performed when the fireTableDataXXX method is invoked.
My Personal Website
I agree. Here's the link:
subject: Is a table listener needed to update a JTable?
need help in updatin jtable
Problem with a jtable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015