This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Hide a Vertical ScrollBar of JScrollPane[very...... Urgent....} Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Hide a Vertical ScrollBar of JScrollPane[very...... Urgent....}" Watch "Hide a Vertical ScrollBar of JScrollPane[very...... Urgent....}" New topic
Author

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

netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
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

Joined: May 10, 2001
Posts: 265
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

Joined: Aug 09, 2001
Posts: 202
Hi Chad I had also tried with the same value,anyhow thanks for u'r reply.
Happy middling with java.
Netharam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hide a Vertical ScrollBar of JScrollPane[very...... Urgent....}
 
Similar Threads
How to scroll with the mouse horizontally
HELP with ScrollPanes!
problem with spacing of text in JTextArea
Remove / Hide scrollbar in select tags
add a JTextPane to a JScrollPane