You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatefinalJTextAreapossibleWords=newJTextArea("Possible words will be shown here\nEnter your first 5 letters and then 5 numbers to see them\nPress the '?' button on the bottom left for help");
40
+
privatefinalJTextAreapossibleWords=newJTextArea("Possible words will be shown here\nEnter 5 letters and then 5 numbers to update them\nPress the '?' button to see help message\nPress the 'R' button to reset the program\n\n");
41
41
//result board, 6 lines, 5 letters each line
42
42
privatefinalJLabel[][] board=newJLabel[6][5];
43
43
//tries status
44
44
privatefinalJLabeltries=newJLabel("Try {}/6");
45
45
//'words left' status
46
-
privatefinalJLabelwordsLeft=newJLabel("{} words left");
46
+
privatefinalJLabelwordsLeft=newJLabel();
47
47
//[?] button that shows the help message
48
48
privatefinalJButtonhelp=newJButton("?");
49
49
//[R] button that resets the board, the tries and the possible words
0 commit comments