mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 07:19:46 +02:00
Farben :) und Fonts :)
This commit is contained in:
@@ -37,9 +37,9 @@ public class StatusPanelAdder{
|
||||
private static JLabel labelTemp= new JLabel("temperature");
|
||||
private static JProgressBar tempBar;
|
||||
private static JLabel labelScore= new JLabel("score");
|
||||
private static JLabel scoreLabel= new JLabel();
|
||||
private static JLabel scoreLabel= new JLabel(" ");
|
||||
private static JLabel labelPowerUp = new JLabel("PowerUp");
|
||||
private static JLabel powerUpLabel = new JLabel(/*new ImageIcon("path_to_image.png")*/"powerUpLabel");
|
||||
private static JLabel powerUpLabel = new JLabel(" ");
|
||||
private static JLabel labelTime=new JLabel("Time");
|
||||
private static JLabel timeLabel = new JLabel("0");
|
||||
private static Font emulogicheading;
|
||||
@@ -124,7 +124,7 @@ public class StatusPanelAdder{
|
||||
}
|
||||
red=((float)(((tempBar.getValue())-30)/80.0));
|
||||
blue=(1-red);
|
||||
tempBarColor=new Color(red, green,blue, (float)0.65);
|
||||
tempBarColor=new Color(red, green,blue, (float)0.525);
|
||||
tempBar.setForeground(tempBarColor);
|
||||
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public class ActionControl{
|
||||
if(rd==1){
|
||||
option=1;
|
||||
setSmash(new Smashing().getKey());
|
||||
String str= "Bitte die Taste "+getSmash()+" so schnell wie moeglich druecken";
|
||||
String str= "Bitte die Taste --"+getSmash()+"-- so schnell wie moeglich druecken";
|
||||
actionLabel.setText(str);
|
||||
setProgressBar(0);
|
||||
beforTime=System.nanoTime();
|
||||
|
||||
Reference in New Issue
Block a user