• 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

ScrollPane's Layout manager?

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi, Java Gurus,
What is ScrollPane's layout manager? Can you set a new
layout manager for ScrollPane? Since ScrollPane is a
container, I am thinking these are valid questions. But
I don't know the answer. Please help! Sam
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well Sam ,
I am not sure but I guess that since scroll pane is just a component it doesn't have a layout manager of its own.Its just like asking what is the layout manager for a "button" !
Moreover if you see the API for scroll pane it can contain only ONE child component.

[This message has been edited by Rajiv Ranjan (edited December 21, 2000).]
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good question Sam. it decends directly from component like Panel and Window. I have not seen the answer yet either. It would be easy to test. just make one then call its getLayout() method. perhaps not, but you could just experiment to find out i guess.
[This message has been edited by Randall Twede (edited December 21, 2000).]
[This message has been edited by Randall Twede (edited December 21, 2000).]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic