📄 clothesadditiondlg.java
字号:
package view.dialog.clothesAddition;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JDialog;
import javax.swing.JFrame;
import view.common.CenterWindow;
import view.control.clothesAddition.ClothesAdditionListener;
import view.frame.MainFrame;
import view.panel.clothesAddition.ClothesAdditionSetPanel;
public class ClothesAdditionDlg extends JDialog{
private ClothesAdditionSetPanel additionPanel;
public ClothesAdditionDlg(){
super(MainFrame.getMainFrame(),"衣服附加信息设置",true);
additionPanel = new ClothesAdditionSetPanel();
this.add(additionPanel);
this.setModal(true);
this.setSize(500,400);
this.pack();
CenterWindow.centerWindow(this);
additionPanel.buildQuitBtn().addActionListener(new ClothesAdditionListener(this));
this.addWindowListener(new WindowAdapter(){
public void windowDeiconified(WindowEvent e){}
public void windowIconified(WindowEvent we){}
public void windowClosing(WindowEvent we){
we.getWindow().dispose();
}
});
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -