Originally posted by Marlene Miller:
Hi Anna,
The Java Swing Tutorial describes how to specify that only one row at a time can be selected. Here is how I navigated through the Tutorial to find the section:
http://java.sun.com/docs/books/tutorial/uiswing/index.html
The Java Swing Tutorial
http://java.sun.com/docs/books/tutorial/uiswing/components/index.html
Using Swing Components
http://java.sun.com/docs/books/tutorial/uiswing/components/componentlist.html
How To�
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
How To Use Tables
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#selection
Detecting User Selections
Since I have the book and a marker on the JTable section, I just flipped through the pages. It's easier to find that way .
Regards, Marlene
[ October 09, 2004: Message edited by: Marlene Miller ]
Originally posted by Anna Kafei:
Hi, can anyone tell me if it is possible to allow a single row selection please? I want them to select one single row at any one time to ensure 1 record booking. Multiple selection can be misleading. I have been looking throught APIs and can't find anything useful. Thanks for any help/suggestion.