Example usage for java.awt.dnd DragSourceContext getDragSource

List of usage examples for java.awt.dnd DragSourceContext getDragSource

Introduction

In this page you can find the example usage for java.awt.dnd DragSourceContext getDragSource.

Prototype


public DragSource getDragSource() 

Source Link

Document

Returns the DragSource that instantiated this DragSourceContext .

Usage

From source file:Main.java

public void dragEnter(DragSourceDragEvent e) {
    DragSourceContext ctx = e.getDragSourceContext();

    System.out.println(ctx.getDragSource());
}