usermngpanel.java

来自「用java开发的QQ管理系统」· Java 代码 · 共 64 行

JAVA
64
字号
package com.zlf.qqserver.usermngpanel;
/**
 *用户管理的界面
 */
import java.awt.BorderLayout;

import javax.swing.JPanel;

import com.zlf.qqserver.ServerMain;

/**
 * 整合面板
 * 
 * @author zlf
 * 
 */
public class UserMngPanel extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private TopPanel topPanel;// 上部的面板

	private CenterPanel centerPanel;

	private BottomPanel bottomPanel;
	public UserMngPanel(ServerMain f) {
		this.setLayout(new BorderLayout());
		topPanel = new TopPanel(f);
		centerPanel=new CenterPanel(f);
		bottomPanel= new BottomPanel(f);
		
		this.add(topPanel,BorderLayout.NORTH);
		this.add(centerPanel,BorderLayout.CENTER);
		this.add(bottomPanel,BorderLayout.SOUTH);		
	}

	public TopPanel getTopPanel() {
		return topPanel;
	}

	public void setTopPanel(TopPanel topPanel) {
		this.topPanel = topPanel;
	}

	public CenterPanel getCenterPanel() {
		return centerPanel;
	}

	public void setCenterPanel(CenterPanel centerPanel) {
		this.centerPanel = centerPanel;
	}

	public BottomPanel getBottomPanel() {
		return bottomPanel;
	}

	public void setBottomPanel(BottomPanel bottomPanel) {
		this.bottomPanel = bottomPanel;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?