A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Swing / AWT / SWT
scrollpane and panels
Joined: Oct 29, 2002
Feb 06, 2003 22:36:00
can anyone please help me out in this problem?
i cant giev a scoll to the panel. and even this simple code is not working..
fr = new
Container c = fr.getContentPane();
p = new
pp = new
// adding a textfield to panel p
a = new
a.setBounds(80, 50, 250, 28);
// adding panel p to scrollpane
scroll = new
// scrollpane is added to panel pp
//add panel pp to frame
Joined: Jan 29, 2003
Feb 07, 2003 01:36:00
Your code works after adding the following to
I agree. Here's the link:
- it saves me about five hours per week
subject: scrollpane and panels
Problem with JTree inside JScrollPane inside JPanel
how to add scrollpane for a jpanel with null layout manager.
JTable rows are getting visible in the middile of the JFrame only
JPanel on JScrollBar possible?
JPanel scroll bar
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013