Example usage for javax.swing.text JTextComponent setDragEnabled

List of usage examples for javax.swing.text JTextComponent setDragEnabled

Introduction

In this page you can find the example usage for javax.swing.text JTextComponent setDragEnabled.

Prototype

@BeanProperty(bound = false, description = "determines whether automatic drag handling is enabled")
public void setDragEnabled(boolean b) 

Source Link

Document

Turns on or off automatic drag handling.

Usage

From source file:Main.java

public static void main(String[] argv) throws Exception {
    JTextComponent textComp = new JTextArea();
    textComp.setDragEnabled(true);

}