Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void gameMenuActionPerformedBeatBestTime(java.awt.event.ActionEvent evt) {
- if(jCheckBoxMenuItem1.isSelected()){
- if(!Minesweeper.getInstance().getBestTimes().getPlayerTimes().isEmpty()){
- Minesweeper.getInstance().getBestTimes().getPlayerTimes().get(0).getTime();
- }
- else{
- JOptionPane.showMessageDialog(rootPane, "There is no best time to beat!");
- }
- }
- }
Add Comment
Please, Sign In to add comment