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

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

Introduction

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

Usage

From source file TreeTester.java

class DndTree extends JTree implements Autoscroll {

    private Insets insets;

    private int top = 0, bottom = 0, topRow = 0, bottomRow = 0;

From source file DragDropTreeExample.java

class FileTree extends JTree implements Autoscroll {
    public static final Insets defaultScrollInsets = new Insets(8, 8, 8, 8);

    protected Insets scrollInsets = defaultScrollInsets;

    public FileTree(String path) throws FileNotFoundException, SecurityException {

From source file FileTreeDragSource.java

class FileTree extends JTree implements Autoscroll {
    public static final Insets defaultScrollInsets = new Insets(8, 8, 8, 8);

    protected Insets scrollInsets = defaultScrollInsets;

    public FileTree(String path) throws FileNotFoundException, SecurityException {

From source file EditorDropTarget4.java

class AutoScrollingEditorPane extends JEditorPane implements Autoscroll {
    public static final Insets defaultScrollInsets = new Insets(8, 8, 8, 8);

    protected Insets scrollInsets = defaultScrollInsets;

    public AutoScrollingEditorPane() {

From source file FileTreeDropTarget.java

class FileTree extends JTree implements Autoscroll {
    public static final Insets defaultScrollInsets = new Insets(8, 8, 8, 8);
    protected Insets scrollInsets = defaultScrollInsets;

    public FileTree(String path) throws FileNotFoundException, SecurityException {
        super((TreeModel) null); // Create the JTree itself