File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Olena Golub
Ranch Hand
Posts: 113
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did it!
It works now



 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic