• Post Reply Bookmark Topic Watch Topic
  • New Topic

awt.List and Scrollbar

 
Frank Tollenaar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My question is very simple
Is it possible to know if the horizontal scrollbar is visible int the awt.list class?
If yes, How?
Thanks
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you can get a horizontal scroll bar using a List
component. You can get only a vertical scrollbar if there are more items than it can display. Otherwise the horizontal size of
the component is dictated by a increase in the width of the List
component and would not thus be subsituted by a horziontal scroll
bar.
A scroll pane is another option to have a horizontal scroll bar.
------------------
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!