In this video, we will make our game a bit more competitive by adding a leaderboard. To display the leaderboard, we will use the JTable component; and to let the user type in their name, we will use of the static methods of the JOptionPane class. We will add a couple more Frame forms to our project and wire them all up into a single multi-form program. In addition, we will further modify our program to make the game restart correctly by terminating the game thread and resetting necessary field.
Visit us on Facebook: / mrmprogramming