posted 17 years ago
I cant find how to set scroll bar in a JPanel...
or i should just use JPanel and make it the ScrollPane's client like this: ?
JPanel p= new JPanel();
JScrollPane scrollPane = new JScrollPane(p);
Can it works?
I mean i have a lot of components inside p JPanel.
anyone give idea please.
ps: i want a small panel which has scroll bar vertically INSIDE a big panel.
From NickyEng
Diploma in Computer Studies
SCJP 1.4
SCWCD 1.4
Formula 1 app by Maxis (Playbook)