TempBar größe und ende geändert

This commit is contained in:
feschi55
2014-11-21 16:10:12 +01:00
parent 777332375e
commit 12c7139230
@@ -89,7 +89,7 @@ public class StatusPanelAdder{
public static void tick() { public static void tick() {
temping=0; temping=0;
if (modifier<0){ if (modifier<0){
barSpeed=0.015; barSpeed=0.01;
tempMinus+=barSpeed*modifier; tempMinus+=barSpeed*modifier;
if (tempMinus<-1){ if (tempMinus<-1){
temping=-1; temping=-1;
@@ -127,7 +127,7 @@ public class StatusPanelAdder{
JPanel tempPanel=new JPanel(); JPanel tempPanel=new JPanel();
labelTemp.setFont(emulogicheading); labelTemp.setFont(emulogicheading);
labelTemp.setForeground(Color.YELLOW); labelTemp.setForeground(Color.YELLOW);
tempBar= new JProgressBar(30,200); tempBar= new JProgressBar(30,110);
tempBar.setValue(45); tempBar.setValue(45);
tempPanel.setLayout(new BorderLayout(0,vgap)); tempPanel.setLayout(new BorderLayout(0,vgap));
tempPanel.add(labelTemp, BorderLayout.NORTH); tempPanel.add(labelTemp, BorderLayout.NORTH);