FileReadyListener.java 文件源码

java
阅读 20 收藏 0 点赞 0 评论 0

项目:imagetozxspec 作者:
@Override
public void actionPerformed(ActionEvent e) {
    if (ImageToZxSpec.getInFiles() == null || ImageToZxSpec.getInFiles().length == 0) {
        JOptionPane.showMessageDialog(null, getCaption("dialog_choose_input_first"), getCaption("dialog_files_not_selected"), JOptionPane.INFORMATION_MESSAGE);
    }
    if (ImageToZxSpec.getOutFolder() == null) {
        JOptionPane.showMessageDialog(null, getCaption("dialog_choose_folder_first"), getCaption("dialog_folder_not_selected"), JOptionPane.INFORMATION_MESSAGE);
    }
    if (operationFinishedListener != null) {
        operationFinishedListener.operationFinished(ImageToZxSpec.getInFiles() != null 
                && ImageToZxSpec.getInFiles().length >0 && ImageToZxSpec.getOutFolder() != null);
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号