Package xgenerator.ui.swing

Examples of xgenerator.ui.swing.MetadataFileDialog


   * </p>
   * @author <a href="mailto:shushanlee@msn.com">liss</a>
   * @param e
   */
  private void showMainActionPerformed(ActionEvent e) {
    new MetadataFileDialog((Frame) ui, "", true);
  }
View Full Code Here


   * </p>
   * @author <a href="mailto:shushanlee@msn.com">liss</a>
   * @param e
   */
  private void loadFileActionPerformed(ActionEvent e) {
    MetadataFileDialog metadataFileDialog = (MetadataFileDialog) ui;
    String filePath = metadataFileDialog.getFilePathField().getText();
    if(null == filePath || "".equals(filePath)) {
      throw new RuntimeException("请选择文件!");
    }
    File file = new File(filePath);
    if(!file.exists()) {
View Full Code Here

TOP

Related Classes of xgenerator.ui.swing.MetadataFileDialog

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.