Package org.jdesktop.application

Examples of org.jdesktop.application.Task


 
 
  @Override
  public void onClick() {
    Application app = BradsWebdavClientApp.getApplication();
    Task task = new DownloadFolderTask(app);
    BradsWebdavClientApp.getApplication().getContext().getTaskService().execute(task);
  }
View Full Code Here


        //TableTransferHandler.initInstance(table, model);
    }

    private void doFilesDropped( final java.io.File[] files ) {
        Application app = BradsWebdavClientApp.getApplication();
        Task task = new UploadTask( this, BradsWebdavClientApp.getApplication(), files, model.folder );
        BradsWebdavClientApp.getApplication().getContext().getTaskService().execute( task );
    }
View Full Code Here

   
    @Action
    public Task saveAs() {
        JFileChooser fc = createFileChooser("saveAsFileChooser");
        int option = fc.showSaveDialog(getFrame());
        Task task = null;
        if (JFileChooser.APPROVE_OPTION == option) {
            task = new SaveFileTask(fc.getSelectedFile());
        }
        /*
        Task task = null;
View Full Code Here

TOP

Related Classes of org.jdesktop.application.Task

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.