This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to add image to a scrollbar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to add image to a scrollbar" Watch "how to add image to a scrollbar" New topic
Author

how to add image to a scrollbar

prabhat gupta
Greenhorn

Joined: Aug 21, 2001
Posts: 26
I want to display big images such as wallpapers of sizes greater than the size of the window in which they are viewed in scrollbars so that image is scrollable for viewing.
Wilfried LAURENT
Ranch Hand

Joined: Jul 13, 2001
Posts: 269
Have a look at
http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html
 
 
subject: how to add image to a scrollbar
 
It's not a secret anymore!