File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTable problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable problem" Watch "JTable problem" New topic

JTable problem

Krithika Beri
Ranch Hand

Joined: Sep 11, 2012
Posts: 36
I have a frame in which I have a JTable. The values of the JTable are determined by what values are clicked in the JTree beside it. My problem is that the first time I click on the tree, the display is fine. But when I click on the tree again the display is fine, but when i go to edit the table, the first clicked values appear. Please tell me where i am going wrong.

I agree. Here's the link:
subject: JTable problem
It's not a secret anymore!