This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Similar Threads
JTable in Headless Mode
Dont understand this initialization issue
Adding a row in a table
Table will not refresh?
How To Keep Space at The Bottom Of My Scrollable JTable