I literally just want to do the following:
System.out.println("First line"); // wait 1 second button.setText("newText");