Package pictionary

Examples of pictionary.PictionaryGame


    {
        this.host = host;
        this.port = port;
        this.category = category;
        this.words = words;
        pictionaryGame = new PictionaryGame(category, words, 60);
        disconnectOrConnectBtn.addActionListener(new ConnectButtonListener());
        initIllegalNames();
        this.addWindowListener(new CloseWindowListener());
        this.add(disconnectOrConnectBtn);
        this.setResizable(false);
View Full Code Here


     * @throws IOException  If a new ServerSocket could not be created.
     */
    private void restartServer(int port) throws IOException
    {
        initIllegalNames();
        pictionaryGame = new PictionaryGame(category, words, 60);
        if (serverThread != null && serverThread.isAlive())
            throw new IllegalStateException("Server is already listening for connections.");
        shutdown = false;
        serverSocket = new ServerSocket(port);
        serverThread = new ServerThread();
View Full Code Here

TOP

Related Classes of pictionary.PictionaryGame

Copyright © 2018 www.massapicom. 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.