LDEditingWindow.java 文件源码

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

项目:jmt 作者:
LDEditingWindow(Frame owner, LDEditor ldEditor) {
    super(owner, false);
    this.ldEditor = ldEditor;
    if (owner == null) {
        throw new IllegalArgumentException("owner must not be null!");
    }
    // only height is fixed
    setSize(CommonConstants.MAX_GUI_WIDTH_LDEDITING, CommonConstants.MAX_GUI_HEIGHT_LDEDITING);
    //setUndecorated(true);
    //setResizable(false);
    this.owner = owner;
    setTitle("LD Editor");
    help = ((ExactWizard) owner).getHelp();

    setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);

    /* closing=cancel */
    addWindowListener(new WindowAdapter() {
        @Override
        public void windowClosing(WindowEvent e) {
            LD_CANCEL.actionPerformed(null);
        }
    });

    initComponents();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号