⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serverinternalframe.java

📁 Java mulitplayer strategy game. Adaptation of KDE Galaxy Conquest. (rules are changed - but still th
💻 JAVA
字号:
/*
 * ServerInternalFrame.java
 *
 * Created on 9 pa焏ziernik 2005, 14:45
 */

package net.sf.jawp.game.server.gui;

/**
 *
 * @author  jarek
 */
public class ServerInternalFrame extends javax.swing.JInternalFrame
{
	private static final long serialVersionUID = 1L;
	
	private final ServerDataManager dataManager;
	
	private final ServerPanel serverStatusPanel;
	/** Creates new form ServerInternalFrame */
	public ServerInternalFrame(final ServerDataManager dm)
	{
		this.dataManager = dm;
		this.serverStatusPanel = new ServerPanel(dm);
		initComponents();
		updateState();
	}

	
	
	/** This method is called from within the constructor to
	 * initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is
	 * always regenerated by the Form Editor.
	 */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents()
    {
        serverStatusPanelField = this.serverStatusPanel;

        getContentPane().setLayout(new java.awt.FlowLayout());

        setTitle("Server status");
        getContentPane().add(serverStatusPanelField);

        pack();
    }
    // </editor-fold>//GEN-END:initComponents
	
	
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel serverStatusPanelField;
    // End of variables declaration//GEN-END:variables
	
	public final void updateState()
	{
		this.serverStatusPanel.updateState();
	}
	
	private ServerDataManager getDataManager()
	{
		return dataManager;
	}
}

⌨️ 快捷键说明

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