Package org.aavso.tools.vstar.ui.dialog

Examples of org.aavso.tools.vstar.ui.dialog.AdditiveLoadFileOrUrlChooser.showDialog()


    } else {
      fileChooser = new AdditiveLoadFileOrUrlChooser(allowURL);
    }

    // Was a file chosen or a URL string accepted?
    boolean approved = fileChooser.showDialog(Mediator.getUI()
        .getComponent()) || fileChooser.isUrlProvided();

    return approved ? fileChooser : null;
  }
}
View Full Code Here


    final IMainUI parent = this.parent;

    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        boolean approved = fileOpenDialog.showDialog(parent
            .getComponent());

        if (approved) {
          File f = fileOpenDialog.getSelectedFile();
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.