Package com.mucommander.ui.dnd

Examples of com.mucommander.ui.dnd.FileDragSourceListener


        tabs.addFocusListener(this);

        // Drag and Drop support

        // Enable drag support on the FileTable
        this.fileDragSourceListener = new FileDragSourceListener(this);
        fileDragSourceListener.enableDrag(fileTable);

        // Allow the location field to change the current directory when a file/folder is dropped on it
        FileDropTargetListener dropTargetListener = new FileDropTargetListener(this, true);
        locationTextField.setDropTarget(new DropTarget(locationTextField, dropTargetListener));
View Full Code Here

TOP

Related Classes of com.mucommander.ui.dnd.FileDragSourceListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.