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

seema prakash
Ranch Hand

Joined: Nov 17, 2004
Posts: 59
I have 2 tables. I want to display all the tables on the same screen one below the other. I tried adding the each table to a panel. The panels were added to the JScrollPane , but the tables were not displayed as desired.
Please help.
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

You should have one JScrollPane for each table.
I agree. Here's the link:
subject: JTable problem
It's not a secret anymore!