This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes JTable selection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JTable selection problem" Watch "JTable selection problem" New topic
Author

JTable selection problem

Buckley Lee
Greenhorn

Joined: Mar 28, 2001
Posts: 19
I've written a program that works fine with Java 1.1.8/1.2 but when run with Java 1.3.1 has a JTable selection problem. Here's the problem:
When the window with the JTable appears to the user, the user can select a row and open it. This works just fine in earlier versions of Java; the selected row opens and displays to the user in a new window. HOWEVER, with Java 1.3.1, when a user selects a row (same program compiled with the new version of Java) an error message is displayed saying that a row must be selected before it can be opened. But the row IS selected. Java even highlights the selected row, but keeps insisting that no row has been selected. This only occurs in Java 1.3.1 though. Any suggestions?? Any help is appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable selection problem
 
Similar Threads
JTable
JTable
JTable selection problem
JTable
JTable row selection behaviour