Hi,
How would I go about finding out what row a user has selected from a table in an Applet front end?
Any ideas would be appreciated,
littlefitzer
Printable View
Hi,
How would I go about finding out what row a user has selected from a table in an Applet front end?
Any ideas would be appreciated,
littlefitzer
i would suggest using tables getSelectedRox() and getSelectedColumn() to get the selected row and column.
if you want to find out when a selection changes you'll want to add a listSelectionListener to the the tables selection model...
e.g.
Code:myTable.getSelectionModel().addListSelectionListener(listener);