Results 1 to 3 of 3
Thread: row selection change in JTable
- 07-27-2011, 11:52 AM #1
Member
- Join Date
- Aug 2010
- Location
- Leuven, Belgium
- Posts
- 79
- Rep Power
- 0
row selection change in JTable
Hi,
I have a JTable with a datamodel.
When the selected row changes a display has to be updated with the data from the new row.
Is there a rowselectionchangelistener ?
I can update it with the mouselistener and keylistener but that are 2 different event.
Is there a single event that i can listen ?
Kind regards
- 07-27-2011, 12:01 PM #2
Add a ListSelectionListener to the JTable's ListSelectionModel
db
- 07-27-2011, 12:12 PM #3
Member
- Join Date
- Aug 2010
- Location
- Leuven, Belgium
- Posts
- 79
- Rep Power
- 0
Similar Threads
-
Selection in JTable
By tremon in forum JDBCReplies: 1Last Post: 06-11-2010, 08:57 PM -
Problem in row selection in JTable
By simmi in forum AWT / SwingReplies: 3Last Post: 03-23-2010, 04:30 PM -
Jtable selection question
By casid in forum New To JavaReplies: 2Last Post: 02-04-2010, 07:11 PM -
Problem in JTable row selection
By shanssat in forum AWT / SwingReplies: 1Last Post: 02-04-2009, 07:50 AM -
Multiple selection on JTable
By hendrix79 in forum New To JavaReplies: 2Last Post: 01-30-2009, 06:11 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks