This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android 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?
I agree. Here's the link:
subject: TextArea and ScollPane
It's not a secret anymore!