This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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...
 
GeeCON Prague 2014
 
subject: TextArea and ScollPane