Example usage for javax.swing JTextArea subclass-usage

List of usage examples for javax.swing JTextArea subclass-usage

Introduction

In this page you can find the example usage for javax.swing JTextArea subclass-usage.

Usage

From source file Main.java

class MyTextArea extends JTextArea implements MouseListener {
    private Image myImage;

    public MyTextArea() {
        addMouseListener(this);
    }

From source file UndoableTextArea.java

class UndoableTextArea extends JTextArea implements UndoableEditListener, FocusListener, KeyListener {
    private UndoManager m_undoManager;

    public UndoableTextArea() {
        this(new String());
    }

From source file Main.java

class MyTextArea extends JTextArea {
    private BufferedImage image;

    public MyTextArea() {
        super(20, 20);
        try {

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 Main.java

class Listm extends JTextArea implements ListCellRenderer {
    protected Listm(int rows, int cols) {
        super(rows, cols);
        setBorder(BorderFactory.createLineBorder(Color.blue));
    }

From source file com.sander.verhagen.frame.LineWrapCellRenderer.java

/**
 * {@link TableCellRenderer} implementation that wraps text contents of cells.
 * 
 * @author Sander Verhagen
 */
@SuppressWarnings("serial")

From source file org.paxle.tools.console.impl.desktop.Console.java

@SuppressWarnings("serial")
public class Console extends JTextArea {
    /**
     * For logging
     */
    private Log logger = LogFactory.getLog(this.getClass());

From source file net.sf.jabref.gui.fieldeditors.JTextAreaWithHighlighting.java

public class JTextAreaWithHighlighting extends JTextArea implements SearchQueryHighlightListener {

    private static final Log LOGGER = LogFactory.getLog(JTextAreaWithHighlighting.class);

    private Optional<Pattern> highlightPattern = Optional.empty();

From source file edu.ku.brc.af.ui.forms.validation.ValTextArea.java

/**
 * A JTextArea that implements UIValidatable for participating in validation
 *
 * @code_status Beta
 *
 * @author rods

From source file Console.java

class ConsoleTextArea extends JTextArea implements KeyListener, DocumentListener {

    /**
     *
     */
    private static final long serialVersionUID = 3258410625414475827L;