Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable selection problem

 
Buckley Lee
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic