This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Scroll panel problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Scroll panel problems" Watch "Scroll panel problems" New topic

Scroll panel problems

Manny Ruiz
Ranch Hand

Joined: Dec 01, 2010
Posts: 40
Hello I am having alot of problems getting this scroll panel to work. Specifically I have the [panel on my GUI, but I cant figure out how to get the text area to populate it. Can someone please tell me what I a,m doing wrong here.

These are the code portions that pertain to the scroll panel only.

And here is the code as a whole.

I am, almost done with this I just need to get the scroll panel to work. Please can someone help me out.
Darryl Burke

Joined: May 03, 2008
Posts: 5115

Don't use a null layout and hardcoded bounds. Use a layout manager or a combination of layout managers to achieve your layout.

luck, db
There are no new questions, but there may be new answers.
Darryl Burke

Joined: May 03, 2008
Posts: 5115

This appears to be continued from
I agree. Here's the link:
subject: Scroll panel problems
jQuery in Action, 3rd edition