Dashboard Button FIX
This commit is contained in:
@@ -149,7 +149,6 @@ public class Dashboard_GUI extends JPanel{
|
||||
}
|
||||
});
|
||||
mitte.setLayout(new BorderLayout(0, 0));
|
||||
mitte_unten.setVisible(false);
|
||||
mitte_unten.setPreferredSize(new Dimension(150, 50));
|
||||
mitte_unten.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
|
||||
btnherz.setVisible(false);
|
||||
@@ -248,6 +247,8 @@ public class Dashboard_GUI extends JPanel{
|
||||
cl.show(panelCont, "2");
|
||||
aktuellesSpiel.spiel(this);
|
||||
aktualisiereGUI();
|
||||
showaussetzen();
|
||||
showwunsch();
|
||||
}
|
||||
|
||||
public void showstart(){
|
||||
@@ -366,7 +367,8 @@ public class Dashboard_GUI extends JPanel{
|
||||
|
||||
|
||||
public void showaussetzen() {
|
||||
aussetzen.setVisible(true);
|
||||
aussetzen.setVisible(true);
|
||||
mitte_unten.updateUI();
|
||||
}
|
||||
|
||||
public void aktualisiereGUI(){
|
||||
@@ -380,6 +382,9 @@ public class Dashboard_GUI extends JPanel{
|
||||
btnherz.setVisible(true);
|
||||
btnkaro.setVisible(true);
|
||||
btnkreuz.setVisible(true);
|
||||
mitte_unten.updateUI();
|
||||
//mitte_unten.revalidate();
|
||||
//mitte_unten.repaint();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user