public NetworkBar(NetworkHandler n){
        addMenu();
        network = n;
        connect.addActionListener(new IPPopUp());
        identify.addActionListener(new IDPopUp());
        player_name = "Player" + (playerCount+1);
        former_name = "";
    }