management.java~6~
来自「这个代码是一本关于JAVA书籍的源代码 这本书叫做JAVA+SQLSERVER」· JAVA~6~ 代码 · 共 26 行
JAVA~6~
26 行
package flight.manage;
import javax.swing.*;
import javax.swing.border.*;
/**
* 管理航班信息的主窗口
*/
public class Management
extends JFrame {
private JTabbedPane tab = new JTabbedPane();
public Management() {
tab.add(new InsertPanel(), " 插 入 ");
tab.add(new DeletePanel(), " 删 除 ");
tab.add(new UpdatePanel(), " 更 新 ");
tab.add(new FlightList(), " 查 看 数 据 库 ");
tab.setBorder(new MatteBorder(new ImageIcon("border.gif")));
getContentPane().add(tab);
this.setSize(470, 370);
this.setResizable(false);
this.setTitle("航班管理系统");
this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
this.setVisible(true);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?