• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

eliminate the horizontal scroller and resize the panel correctly

 
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
I realize that some of my end-users set up their screens with a resolution of 800x600. Some of the panels in the dialog are not adjusted accordingly and resulting in vertical and horizontal scrollbars (well...it's OK to have the vertical scrollbar but the horizontal scroller is not good - I mean it exist but I would like to eliminate it).

So, there is one dialog with a 'main panel' and this panel has the scrollers. i tried to eliminate it with:

scroll.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);

it eliminated it but the panel are not adjusted correctly - meaning some labels/comboboxes are left out (you cannot see it). I would like to resize it...but how?

thanks
Peter
reply
    Bookmark Topic Watch Topic
  • New Topic