java.awt.dnd.InvalidDnDOperationException: Cannot find top-level for the drag source component

Coderanch | Yahya Elyasse | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    DND from JTree to JTable

    Coderanch | 1 decade ago | Yahya Elyasse
    java.awt.dnd.InvalidDnDOperationException: Cannot find top-level for the drag source component
  2. 0

    JTree DnD problem on Linux (windows  ok)

    Oracle Community | 1 decade ago | 843805
    java.awt.dnd.InvalidDnDOperationException: Cannot find top-level for the drag source component
  3. 0

    Thread concurrency what am i missing - Java Programming - KnowCoding.com

    knowcoding.com | 1 year ago
    java.awt.dnd.InvalidDnDOperationException: Cannot find top-level for the drag source component
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Drag & Drop, invalidDnDException, totally urgent.

    java-forums.org | 1 year ago
    java.awt.dnd.InvalidDnDOperationException: Cannot find top-level for the drag source component
  6. 0

    DragSource - InvalidDnDOperationException on starting DragAction

    Stack Overflow | 4 years ago | Randbedingung
    java.awt.dnd.InvalidDnDOperationException: Cannot find top-level for the drag source component

    1 unregistered visitors

    Root Cause Analysis

    1. java.awt.dnd.InvalidDnDOperationException

      Cannot find top-level for the drag source component

      at sun.awt.X11.XDragSourceContextPeer.startDrag()
    2. sun.awt.X11
      XDragSourceContextPeer.startDrag
      1. sun.awt.X11.XDragSourceContextPeer.startDrag(XDragSourceContextPeer.java:105)
      1 frame
    3. Java RT
      DragSource.startDrag
      1. sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:111)
      2. java.awt.dnd.DragSource.startDrag(DragSource.java:306)
      3. java.awt.dnd.DragSource.startDrag(DragSource.java:403)
      3 frames
    4. treetable
      TreeDragSource.dragGestureRecognized
      1. treetable.TreeDragSource.dragGestureRecognized(TreeDragSource.java:67)
      1 frame
    5. Java RT
      DragGestureRecognizer.fireDragGestureRecognized
      1. java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:339)
      1 frame
    6. sun.awt.X11
      XMouseDragGestureRecognizer.mouseDragged
      1. sun.awt.X11.XMouseDragGestureRecognizer.mouseDragged(XMouseDragGestureRecognizer.java:202)
      1 frame
    7. Java RT
      EventDispatchThread.run
      1. java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:262)
      2. java.awt.Component.processMouseMotionEvent(Component.java:5536)
      3. javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3144)
      4. java.awt.Component.processEvent(Component.java:5257)
      5. java.awt.Container.processEvent(Container.java:1966)
      6. java.awt.Component.dispatchEventImpl(Component.java:3955)
      7. java.awt.Container.dispatchEventImpl(Container.java:2024)
      8. java.awt.Component.dispatchEvent(Component.java:3803)
      9. javax.swing.plaf.basic.BasicTableUI$Handler.repostEvent(BasicTableUI.java:900)
      10. javax.swing.plaf.basic.BasicTableUI$Handler.mouseDraggedImpl(BasicTableUI.java:1044)
      11. javax.swing.plaf.basic.BasicTableUI$Handler.mouseDragged(BasicTableUI.java:1040)
      12. java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:262)
      13. java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:261)
      14. java.awt.Component.processMouseMotionEvent(Component.java:5536)
      15. javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3144)
      16. java.awt.Component.processEvent(Component.java:5257)
      17. java.awt.Container.processEvent(Container.java:1966)
      18. java.awt.Component.dispatchEventImpl(Component.java:3955)
      19. java.awt.Container.dispatchEventImpl(Container.java:2024)
      20. java.awt.Component.dispatchEvent(Component.java:3803)
      21. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
      22. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3909)
      23. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
      24. java.awt.Container.dispatchEventImpl(Container.java:2010)
      25. java.awt.Component.dispatchEvent(Component.java:3803)
      26. java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
      27. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
      28. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      29. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
      30. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
      31. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      31 frames