File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!