Examples of showSelectDirectoryDialog()


Examples of net.datacrow.console.windows.BrowserDialog.showSelectDirectoryDialog()

            locateFile(DriveManager._PRECISION_MEDIUM);
        } else if (e.getActionCommand().equals("locateFileLP")) {
            locateFile(DriveManager._PRECISION_LOWEST);
        } else if (e.getActionCommand().equals("moveFile")) {
            BrowserDialog dialog = new BrowserDialog(DcResources.getText("msgSelectnewLocation"), null);
            File newDir = dialog.showSelectDirectoryDialog(this, null);
       
            if (newDir != null) {
                try {
                    File newFile = new File(newDir, file.getName());
                    Utilities.rename(file, newFile);
View Full Code Here

Examples of net.datacrow.console.windows.BrowserDialog.showSelectDirectoryDialog()

            locateFile(DriveManager._PRECISION_MEDIUM);
        } else if (e.getActionCommand().equals("locateFileLP")) {
            locateFile(DriveManager._PRECISION_LOWEST);
        } else if (e.getActionCommand().equals("moveFile")) {
            BrowserDialog dialog = new BrowserDialog(DcResources.getText("msgSelectnewLocation"), null);
            File newDir = dialog.showSelectDirectoryDialog(this, null);
       
            if (newDir != null) {
                try {
                    File newFile = new File(newDir, file.getName());
                    Utilities.rename(file, newFile);
View Full Code Here

Examples of net.datacrow.console.windows.BrowserDialog.showSelectDirectoryDialog()

    protected void showDirectoryOpenDialog() {
        BrowserDialog dialog = new BrowserDialog(title, filter);
        dialog.setFont(ComponentFactory.getStandardFont());
       
        file = dialog.showSelectDirectoryDialog(this, null);
        text.setText(getFilename());

        dialog.dispose();
        dialog = null;
    }
View Full Code Here

Examples of net.datacrow.console.windows.BrowserDialog.showSelectDirectoryDialog()

   
    @Override
    public void actionPerformed(ActionEvent e) {
        if (e.getActionCommand().equals("addDirectory")) {
            BrowserDialog dlg = new BrowserDialog(DcResources.getText("msgSelectDirectory"));
            File directory = dlg.showSelectDirectoryDialog(this, null);
           
            if (directory != null) {
                tableDirectoriesAsDrives.addRow(new Object[] {directory.toString()});
            }
           
View Full Code Here

Examples of net.datacrow.console.windows.BrowserDialog.showSelectDirectoryDialog()

   
    @Override
    public void actionPerformed(ActionEvent e) {
        if (e.getActionCommand().equals("addExcludedDir")) {
            BrowserDialog dlg = new BrowserDialog(DcResources.getText("msgSelectDirToExclude"));
            File directory = dlg.showSelectDirectoryDialog(this, null);
           
            if (directory != null)
                tableSkipDirs.addRow(new Object[] {directory.toString()});
           
        } else if (e.getActionCommand().equals("removeExcludedDir")) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.