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

Selection a row in the JTable per single mouse click and restriction of the selection  RSS feed

 
Olena Golub
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Java-Gurus!
I have some questions about JTable.
How can I implement in the JTable that I can select only maximum three rows in the Table?
And the second question is:
How can I implement this?:
I select one row per single mouse click. Than I select the second row per single-mouse click (without Ctrl). The fist should be also selected.


I am very thankful for your help or ideas!
Olena
[ March 17, 2005: Message edited by: Olena Golub ]
 
Olena Golub
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did it!
It works now



  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!