SourceForge has been redesigned. Learn more.

Register GLPanel as a DropTarget

  • jerhewet

    jerhewet - 2007-01-12

    Anyone know of a way to register GLPanel as a drop target?

    • jerhewet

      jerhewet - 2007-01-12

      Sorry -- should have been a *wee* bit more specific. :-)

      I'm trying to figure out how to implement DND from within the Eclipse 3.2 framework, so that I can handle SWT drop events instead of AWT drop events on my subclass of GLPanel . I can extend GLPanel and implement java.awt.dnd.DropTargetListener, but I can't seem to find a Panel-type control in SWT that I can implement org.eclipse.swt.dnd.DropTargetListener against.

      Guess I could re-wrap something to snag the SWT drop() and repackage it as an AWT event, but I'm hoping there might be a more straight-forward solution.


Log in to post a comment.