Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hide a Vertical ScrollBar of JScrollPane[very...... Urgent....}  RSS feed

 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I've addeda JList to a JScrollPane,now I wish to hide the vertical scrollbar of this scrollpane.Is this possible,please reply me as soon as possible.
Happy middling with java.
Netharam. :roll:
 
Chad McGowan
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the api for JScrollPane, I think you can set the vertical scroll bar policy to something like VERTICAL_SCROLLBAR_NEVER.
Chad
 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chad I had also tried with the same value,anyhow thanks for u'r reply.
Happy middling with java.
Netharam
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!