🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
1 messages
1 total messages Started by Mike Whittemore Tue, 20 Apr 2004 03:50
Simulated Mouse Drags
#1047
Author: Mike Whittemore
Date: Tue, 20 Apr 2004 03:50
12 lines
1476 bytes
Sun's Swing tutorial section titled "How to Use Scroll Panes" states this 
about dragging and autoscrolls:
 "Setting the autoscrolls property to true makes the component fire 
synthetic mouse-dragged events even when the mouse isn't moving (because it 
stopped, mid-drag, outside the component)."
 I'd like to duplicate this behavior, but instead of the events being 
triggered by mouse dragging, have them triggered by mouse moving. Any ideas 
on how to do this? (Simply calling mouseDragged() from mouseMoved() does 
not duplicate the behavior)
 Thanks,
 Mike
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads