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 TextArea and ScollPane Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: TextArea and ScollPane
 
Similar Threads
Label in a field or scrollpanel
JProgressBar shows no progress
NullPointerException by creating a dynamic object
Vertical ScrollBar of a JScrollPane not functioning??
Two separate classes (not inner classes) and ActionListener question