📄 deptpanel.java
字号:
package com.softfz.jn0708.main.department;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JPanel;
import com.softfz.jn0708.main.QQServerAppFrame;
public class DeptPanel extends JPanel{
/**
* 部门管理面板
*/
private static final long serialVersionUID = 1L;
private CenterPanel centerPanel;
private BottomPanel bottomPanel;
private QQServerAppFrame frame;
public DeptPanel(QQServerAppFrame frame){
this.frame=frame;
bottomPanel=new BottomPanel(this.frame,this);
centerPanel=new CenterPanel(this);
this.setLayout(new BorderLayout());
this.add(centerPanel,BorderLayout.CENTER);
this.add(bottomPanel,BorderLayout.SOUTH);
this.setBackground(new Color(241,250,255));
}
/**
* 获取部门管理中间面板
* @return
*/
public CenterPanel getCenterPanel() {
return centerPanel;
}
/**
* 获取按钮面板
* @return
*/
public BottomPanel getBottomPanel() {
return bottomPanel;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -