This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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.
 
Have you checked out Aspose?
 
subject: JTable selection problem
 
It's not a secret anymore!