File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
HELP with ScrollPanes!
How to scroll with the mouse horizontally
problem with spacing of text in JTextArea
add a JTextPane to a JScrollPane
Remove / Hide scrollbar in select tags