i try to remake some project from http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html
And i want when i click on the picture. Image in JViewarea automatic move without click on JScrolBar. But i don't know how to implement this...
Can somebody help me?? Thanks...

Sounds like you need a mouse listener to detect the click and call a method to do what you want.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.