• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

how to use JScrollBar in JFrame..Please Help Me

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic