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