public void onExitAction() { if (centerPanel != null) { ((IDiglogPanel) centerPanel).destroy(); } this.centerPanel = null; // 销毁 this.setVisible(false); this.dispose(); }
public void hide() { if (this.centerPanel != null) { ((IDiglogPanel) centerPanel).destroy(); } super.hide(); }