Package chrriis.dj.nativeswing.swtimpl.components

Examples of chrriis.dj.nativeswing.swtimpl.components.JDirectoryDialog


          fileDialog.show(contentPane);
          JOptionPane.showMessageDialog(contentPane, "Selected file: " + fileDialog.getSelectedFileName());
          return;
        }
        if(directoryRadioButton.isSelected()) {
          JDirectoryDialog directoryDialog = new JDirectoryDialog();
          directoryDialog.show(contentPane);
          JOptionPane.showMessageDialog(contentPane, "Selected directory: " + directoryDialog.getSelectedDirectory());
          return;
        }
        if(customizedDirectoryRadioButton.isSelected()) {
          JDirectoryDialog directoryDialog = new JDirectoryDialog();
          directoryDialog.setTitle("This is a GREAT dialog!");
          directoryDialog.setMessage("Choose a directory NOW!");
          directoryDialog.show(contentPane);
          JOptionPane.showMessageDialog(contentPane, "Selected directory: " + directoryDialog.getSelectedDirectory());
          return;
        }
      }
    });
    buttonPanel.add(showDialogButton, cons);
View Full Code Here

TOP

Related Classes of chrriis.dj.nativeswing.swtimpl.components.JDirectoryDialog

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.