Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

? using getSelectionModel with an abstractTableModel  RSS feed

 
Geoff Jefferson
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been studying the Java Tutorial's examples and attempting to apply what I have learned
to my own code. The method getSelectionModel is in JTable, how do I get the model of a custom
table.

Thank you.

 
Rob Camick
Ranch Hand
Posts: 2754
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same way as you do an a regualar table. You use the getSelectionModel() method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!