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