wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes TextArea and ScollPane 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 "TextArea and ScollPane" Watch "TextArea and ScollPane" New topic

TextArea and ScollPane

Smilidon Sapiens
Ranch Hand

Joined: Nov 02, 2000
Posts: 66
I wrote this code:

The question:
If I create a new object of this class in my JFrame ("JFrame.add(panel); TabbedPaneContainer cont = new TabbedPaneContainer("Test", panel);"), the ScrollPane has always the size 0. How can draw the ScrollPane correctly?
Consider Paul's rocket mass heater.
subject: TextArea and ScollPane
Similar Threads
JProgressBar shows no progress
Two separate classes (not inner classes) and ActionListener question
NullPointerException by creating a dynamic object
Vertical ScrollBar of a JScrollPane not functioning??
Label in a field or scrollpanel