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

📄 joingamedialog.java

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

package net.sf.jawp.gui.client;

import net.sf.jawp.api.service.JAWPGameService;
import net.sf.jawp.gf.api.services.UserService;

/**
 * tw
 * @author  jarek
 */
public class JoinGameDialog extends javax.swing.JDialog
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private final JoinPanel joinPanel;
	
	/** Creates new form JoinGameDialog */
	public JoinGameDialog(final java.awt.Frame parent, final boolean modal,  final UserService<JAWPGameService> usrService )
	{
		super(parent, modal);
		this.joinPanel = new JoinPanel(this,  usrService);
		initComponents();
	}
	
	/** 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()
    {
        joingGamePanelView = this.joinPanel;

        getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.X_AXIS));

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Join game");
        getContentPane().add(joingGamePanelView);

        pack();
    }
    // </editor-fold>//GEN-END:initComponents
	
	
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel joingGamePanelView;
    // End of variables declaration//GEN-END:variables
	
	public final JAWPGameService getGameService( )
	{
		return this.joinPanel.getGameService();
	}
}

⌨️ 快捷键说明

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