A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: scrollpane and panels
JTable rows are getting visible in the middile of the JFrame only
JPanel scroll bar
Problem with JTree inside JScrollPane inside JPanel
how to add scrollpane for a jpanel with null layout manager.
JPanel on JScrollBar possible?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015