wood burning stoves 2.0*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 4531

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: 4531

This appears to be continued from http://www.coderanch.com/t/522325/GUI/java/Event-problems
jQuery in Action, 2nd edition
subject: Scroll panel problems