aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "TextArea and ScollPane" Watch "TextArea and ScollPane" New topic
Author

TextArea and ScollPane

Smilidon Sapiens
Ranch Hand

Joined: Nov 02, 2000
Posts: 66
Hi,
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?
thanks...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TextArea and ScollPane
 
Similar Threads
Label in a field or scrollpanel
Vertical ScrollBar of a JScrollPane not functioning??
NullPointerException by creating a dynamic object
JProgressBar shows no progress
Two separate classes (not inner classes) and ActionListener question