Example usage for java.awt.dnd DragSourceContext getCursor

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

Introduction

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

Prototype


public Cursor getCursor() 

Source Link

Document

Returns the current custom drag Cursor .

Usage

From source file:Main.java

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

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