mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 11:29:46 +02:00
TempBar größe und ende geändert
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user