Package server

Source Code of server.ServerMain

package server;

import general.statics.function.GUIFunctions;
import server.gui.ServerFrame;

/**
* The runnable class for the Yahtzee game server. Attempts to set the GUI's look and feel to "Windows default"
* and instantiates a new server client.
*
* @author Priit Laht
*/
public class ServerMain {
 
  /** The Constant WIDTH. */
  private static final int WIDTH = 300;
 
  /** The Constant HEIGHT. */
  private static final int HEIGHT = 70;

  public static void main(String[] args) {
    GUIFunctions.setLookAndFeel("Windows");
    new ServerFrame(WIDTH, HEIGHT);
  }
}
TOP

Related Classes of server.ServerMain

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.