Example usage for java.awt.dnd DropTargetListener interface-usage

List of usage examples for java.awt.dnd DropTargetListener interface-usage

Introduction

In this page you can find the example usage for java.awt.dnd DropTargetListener interface-usage.

Usage

From source file DropTest.java

public class DropTest extends JFrame implements DropTargetListener {

    DropTarget dt;

    JTextArea ta = new JTextArea();

From source file Main.java

public class Main extends JFrame implements DropTargetListener {

    DropTarget dt;

    JTextArea ta = new JTextArea();

From source file Main.java

public class Main extends JFrame implements DropTargetListener {
    DropTarget dt;
    JTextArea ta = new JTextArea();

    public Main() {
        super("Drop Test");

From source file DropTest.java

public class DropTest extends JFrame implements DropTargetListener {

    DropTarget dt;

    JTextArea ta;

From source file NewDropTest.java

public class NewDropTest extends JFrame implements DropTargetListener {

    DropTarget dt;

    JTextArea ta;

From source file DropTest2.java

public class DropTest2 extends JFrame implements DropTargetListener {

    DropTarget dt;

    JTextArea ta;

From source file ColorSink.java

/** 
 * This simple JTextArea subclass allows TransferableColor objects to
 * be pasted or dropped into it.  It also supports the pasting of
 * text, and the dropping of File objects.  
 */
public class ColorSink extends JTextArea implements DropTargetListener {

From source file PanelDropTarget.java

public class PanelDropTarget implements DropTargetListener {
    public PanelDropTarget(JPanel pane) {
        this.pane = pane;

        // Create the DropTarget and register
        // it with the JPanel.

From source file EditorDropTarget.java

public class EditorDropTarget implements DropTargetListener {
    public EditorDropTarget(JEditorPane pane) {
        this.pane = pane;

        // Create the DropTarget and register
        // it with the JEditorPane.

From source file Main.java

public class Main extends JFrame implements ActionListener, DropTargetListener {
    DragLabel source = new DragLabel("Drag and drop me to the following JButton", JLabel.CENTER);

    JButton target = new JButton();

    public Main(String title) {