serverpane.java
来自「聊天工具」· Java 代码 · 共 46 行
JAVA
46 行
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 + =
减小字号Ctrl + -
显示快捷键?