private void newPlayerBackBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_newPlayerBackBtnActionPerformed

        NewPlayerPlanel.setVisible(false);
        playBtn.setVisible(true);
        if (isSinglePlayer) {
            singlePlayerPanel.setVisible(true);
        } else {
            twoPlayerPanel1.setVisible(true);
        }


    }//GEN-LAST:event_newPlayerBackBtnActionPerformed