java - Using a JTable as a JList -


I have a JTable of data. I want that when a line is selected, then an event may be a jellist With, I will only add a list selection listener, any way to do this with JTable?

You can still use your ListSelectionListener with JTable to look at the JavaDocs: JTable also Applies, you will use it for your JList).

(But if you already use it with JLIT, then you know how to use it even with JTable).


Comments