Пример #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();
 }