| Author |
MouseDragScrolling in Java
|
Edgar Colmenares
Greenhorn
Joined: Apr 06, 2012
Posts: 2
|
|
|
I want to build a MouseDragScrolling like Android over Java for a big touch screen something like this http://jqueryfordesigners.com/demo/scrollable-timelines.html I have this example http://java-swing-tips.blogspot.mx/2008/06/mouse-drag-auto-scrolling.html but i want to use the MouseDragScrolling over a JTable or other component and block and distinct the MouseClick and the MouseDrag.
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4167
|
|
You could try an approach I suggested in another forum last year:
https://forums.oracle.com/forums/thread.jspa?threadID=1348363
And since this is GUI related, I'm moving it to an appropriate section.
edit: Changed the link to the thread in which the code was first posted, in 2010.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4167
|
|
Other related threads where this approach was suggested:
http://www.coderanch.com/t/544942/GUI/java/JLabel-pan-image
http://www.coderanch.com/t/552486/GUI/java/Jittery-Pan-Scrolling
https://forums.oracle.com/forums/thread.jspa?threadID=2191416
|
 |
Edgar Colmenares
Greenhorn
Joined: Apr 06, 2012
Posts: 2
|
|
|
Thanks, sorry.
|
 |
 |
|
|
subject: MouseDragScrolling in Java
|
|
|