Exemple #1
0
 /** Set text of JLabel for highScore */
 public void setHighScore(int s) {
   highScore.setText("High Score: " + s);
 }
Exemple #2
0
 /** Set text of JLabel for score */
 public void setScore(int s) {
   score.setText("Score: " + s);
 }
Exemple #3
0
 /** Set text of JLabel for lives */
 public void setLives(int s) {
   lives.setText("Lives: " + s);
 }
Exemple #4
0
 /** Set text of JLabel for level */
 public void setLevel(int s) {
   level.setText("Level: " + s);
 }