• Post Reply Bookmark Topic Watch Topic
  • New Topic

? using getSelectionModel with an abstractTableModel

 
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: 2700
10
  • 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!