📄 serverpane.java
字号:
package server.serverpane;
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import server.login.ServerFrme;
/**
* 服务器管理面板
* @author 洪景泉
*
*/
public class ServerPane extends JPanel {
//
private static final long serialVersionUID = 1L;
private JSplitPane sppnTotle = null;
private MiddlePane centerPane = null;
private BottomPane bottomPane = null;
/**
*构造函数
* @param qqServerFrm 传入的主界面对象
*/
public ServerPane(ServerFrme qqServerFrm) {
centerPane = new MiddlePane(qqServerFrm);
bottomPane = new BottomPane(qqServerFrm);
sppnTotle = new JSplitPane(JSplitPane.VERTICAL_SPLIT,centerPane,bottomPane);
sppnTotle.setDividerLocation(250);
sppnTotle.setOneTouchExpandable(true);
this.setLayout(new BorderLayout(0,0));
this.add(sppnTotle);
}
public BottomPane getBottomPane() {
return bottomPane;
}
public MiddlePane getCenterPane() {
return centerPane;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -