Guest User

Untitled

a guest
Dec 11th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. private void gameMenuActionPerformedBeatBestTime(java.awt.event.ActionEvent evt) {
  2. if(jCheckBoxMenuItem1.isSelected()){
  3. if(!Minesweeper.getInstance().getBestTimes().getPlayerTimes().isEmpty()){
  4. Minesweeper.getInstance().getBestTimes().getPlayerTimes().get(0).getTime();
  5. }
  6. else{
  7. JOptionPane.showMessageDialog(rootPane, "There is no best time to beat!");
  8. }
  9. }
  10. }
Add Comment
Please, Sign In to add comment