| Author |
JTable - firing events
|
Terry McKee
Ranch Hand
Joined: Sep 29, 2000
Posts: 173
|
|
|
I have a JTable that uses a custom editor that allows for a JComboBox in the last column. Everything works fine when you click on any of the cells on that column. However, I would like when a user tabs to a cell in that column to have the JComboBox to show its values. Any suggestions?
|
 |
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
|
|
|
Put FocusListeners on your cells, and when the cell gets focus, do whatever with the JComboBox.
|
"JavaRanch, where the deer and the Certified play" - David O'Meara
|
 |
 |
|
|
subject: JTable - firing events
|
|
|