Event « Drag Drop « Java Swing Q&A





1. fast key rates hosing my Java Swing application, how can I drop events early in the pipeline?    stackoverflow.com

Some operating systems generate keyPressed events more quickly than my application can handle them. My first thought was to not perform the action if the calls are too close together, with ...

2. Why DragHandler exportAsDrag disables my MouseMotionListener?    stackoverflow.com

I want to realize a simple JComponent-Drag-and-Drop with a preview from O.Reilly-Swing.Hacks Hack 69. Translucent Drag-and-Drop. My Problem is if the TransferHandler start the Drag the MouseMotionListener stop performing mouseDragged(). Here ...

3. DND and mouse events    stackoverflow.com

why the implement of drag and drop over JLabel components via TransferHandler or via DragGestureListener, DragSourceListener, DropTargetListener ,canceling mouse events on these components? what i can do to get both ...

4. keyboard event while drag and drop    coderanch.com

5. Drag and Drop disables Event Listeners?    java-forums.org

When a exportAsDrag() is called, all event listeners stop working until the drag is completed. Is there a way to get at least keylistener to work or catch the keyboard input somewhere? Here is a simple compilable program that creates a jframe with a jlabel inside. The label has a mouselistener, focuslistener, and keylistener. The mouselistener calls exportAsDrag from the mousedragged ...

6. Drag question: event not recurring    java-forums.org

Hey, I've looked all over and cannot find an answer to a question i have. I have a class implementing MouseListener. Trying to use drag/drop mechanism - I seem to have a problem. Irom the MouseDragged event I call a method from the component the mouse is over, lets call it class A (abstract). The method is implemented in classes B(mothod ...