• Post Reply Bookmark Topic Watch Topic
  • New Topic

Selected columns

 
Pat Peg
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I determine which column was selected in a JTable. Please, if you could give me an example without using an inner class that would be great. I've tried using
addMouseListener(this);
and then just overwriting mouseClicked but I don't know how to get a value back for the column.

Confussed...
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!