• 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

Jsplit pane and scroll pane

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have added a split pane to my frame.
Split panes left component contains a scrollpane, to which i have added a panel.And to this panel i am adding an image.
And to the right another panel.

if i chagne the split slider, i wanted the image to occupy the space provided. how to do that.

When i zoom in i increase the size of image.. and also the panel on which it is drawn,, But scroll bars are not comming..

So how to go abt it

Thanks in advance,
 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi...
I am not sure I got this right, note that the ScrollPane repects the minimum and maximum size. If you set the minimum size of the panle that contains the image, then the divider cannot be dragged past that size.
I am wondering why do you want to change the size of the panel when you zoom in??? if you do so then you don't need a ScollPane, which is supposed to be the object responisble for showing diff views of the component.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic