Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
Similar Threads
Adding a row in a table
JTable in Headless Mode
Dont understand this initialization issue
Table will not refresh?
How To Keep Space at The Bottom Of My Scrollable JTable