File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JTable in JScrollPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable in JScrollPane" Watch "JTable in JScrollPane" New topic
Author

JTable in JScrollPane

tushar jain
Greenhorn

Joined: Aug 07, 2001
Posts: 10
I Have one JApplet which has Four Tabs (Using JTabbedPane component).One of the Tab has Box (Verical) which has in turn three more boxes.
Middel Box (Vertical) has one Box (Horizontal) and one JPanel( FlowLayout- Left). This JPanen Has one JScrollPane which has one JTable. I Want to limit the size of this JScrollPane. Is there any way out.
Any help will be appreciated.
Thanks in advance.
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
try myScrollPane.getViewport().setPreferredSize().
chantal
 
Consider Paul's rocket mass heater.
 
subject: JTable in JScrollPane
 
Similar Threads
JTable problem
Problems with Jtable and JTextField Binding
JTable
jtable
Jtable