예제 #1
0
 private void newGameActionPerformed(java.awt.event.ActionEvent evt) {
   naziv.Clear();
   result.setText("0:0");
 }
예제 #2
0
 public static void Result(boolean player) {
   if (player) scorePlayer1++;
   else scorePlayer2++;
   naziv.Clear();
   result.setText(scorePlayer1 + ":" + scorePlayer2);
 }
예제 #3
0
 private void resetActionPerformed(java.awt.event.ActionEvent evt) {
   naziv.Clear();
 }