This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JTable selection problem" Watch "JTable selection problem" New topic

JTable selection problem

Buckley Lee

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:
subject: JTable selection problem
jQuery in Action, 3rd edition