• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.awt.List horizontal scroll bar

 
Andre Dougla
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I use java.awt.List (3) constructor. API says "Creates a new scrolling list initialized with the specified number of visible lines." If an item text is too long a horizonatl scroll bar appears and the number of visible lines is 2. NB!NB! because the third line is replaced by the horizontal scroll bar. Could you tell me if there is the way to fix it? I mean always to show 3 lines irrespective of the item text length.
Thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic