aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to use JScrollBar in JFrame..Please Help Me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to use JScrollBar in JFrame..Please Help Me" Watch "how to use JScrollBar in JFrame..Please Help Me" New topic
Author

how to use JScrollBar in JFrame..Please Help Me

ishan dave
Ranch Hand

Joined: Apr 16, 2007
Posts: 39
Hi
I have a JFrame with 2 JPanels now the in the form i have some JTextFields, JComboBoxes, Jlists & Buttons now the contents of my frame is more than the screen area so I want to attach a JScrollBar to my JFrame but my srollbarr does not work. So any one please guide me that how can I scroll my JFrame using the JScrollbar(vertically). I am using Netbeans 5.5 GUI builder

thank you,
ishaan
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"ishan",

Please read the section below in bold.

Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning

thanks,
Dave
ishan dave
Ranch Hand

Joined: Apr 16, 2007
Posts: 39
Hi
I have a JFrame with 2 JPanels now the in the form i have some JTextFields, JComboBoxes, Jlists & Buttons now the contents of my frame is more than the screen area so I want to attach a JScrollBar to my JFrame but my srollbarr does not work. So any one please guide me that how can I scroll my JFrame using the JScrollbar(vertically). I am using Netbeans 5.5 GUI builder

thank you,
ishan dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use JScrollBar in JFrame..Please Help Me