public void newGame() { //Own method
theNumber = (int)(Math.random() * 100 + 1); // Новое число
lblOutput.setText(""); // Скрываем текст о выигрыше
txtGuess.setText(""); // Скрываем ввод
btnPlayAgain.setVisible(false); // Скрываем кнопку
}