public void setListenerButton() {
        startGame.addActionListener(new ActionListener()  {

			@Override
			public void actionPerformed(ActionEvent arg0) {
				// TODO Auto-generated method stub
				if (isDecisionMaker)
				{
					if (readyToPlay())
					{
						try {
							MessagePacket message = new MessagePacket(InetAddress.getLocalHost().getHostAddress(), "START");
							node.sendMessageRight(message);
							startTimer();
							System.out.println("Game started!");
							startGame.setEnabled(false);
							startGame.setFocusable(false);
						} catch (Exception e) {
							e.printStackTrace();
						}
					}
				}
				else
				{
					try {
						MessagePacket message = new MessagePacket(InetAddress.getLocalHost().getHostAddress(), "READY");
						node.sendMessageLeft(message);
						startGame.setText("Waiting for others to be ready");
						startGame.setEnabled(false);
						setListenerPlayer();
					} catch (Exception e) {
						e.printStackTrace();
					}
				}
			}
            
        });
    }