This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use JScrollBar in JFrame..Please Help Me

 
ishan dave
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic