A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
Add Components in JScrollPane
vinay vishal
Greenhorn
Joined: Dec 29, 2006
Posts: 9
posted
Mar 05, 2007 01:14:00
0
Hi all,
I want to add multiple no of radio button in scroll pane. when i am adding N number of radio button Scrollbar doesn't work.
Thanks,
vinay
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
Mar 05, 2007 01:31:00
0
give the scrollpane a preferredSize
scrollPane.setPreferredSize(new Dimension(x,y));
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Add Components in JScrollPane
Similar Threads
RadioButtons and if statements and more....
Radio Button in Dialogue box using javascript
Question on using DisplayTag in JSPs
Can i add a radio button to a JOptionPane??
repaint problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter