Update Texturenauswahl
This commit is contained in:
@@ -254,6 +254,10 @@ public class Dashboard_GUI extends JPanel{
|
||||
showwunsch(false);
|
||||
aussetzen.setVisible(false);
|
||||
aktuellesSpiel.spiel(this);
|
||||
player_hand.setVisible(true);
|
||||
label_final.setVisible(false);
|
||||
ablagestapel.setVisible(true);
|
||||
rechts.setVisible(true);
|
||||
aktualisiereGUI();
|
||||
}
|
||||
|
||||
|
@@ -113,6 +113,14 @@ public class GUI extends JFrame{
|
||||
gamelabel.setBounds(0, 91, 220, 29);
|
||||
menuhide.add(gamelabel);
|
||||
|
||||
JLabel texturenlabel = new JLabel("Texturen");
|
||||
|
||||
texturenlabel.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
texturenlabel.setForeground(Color.WHITE);
|
||||
texturenlabel.setFont(new Font("Tahoma", Font.PLAIN, 24));
|
||||
texturenlabel.setBounds(0, 131, 220, 29);
|
||||
menuhide.add(texturenlabel);
|
||||
|
||||
JPanel dashboard = new JPanel();
|
||||
dashboard.setBackground(new Color(73, 128, 242));
|
||||
getContentPane().add(dashboard, BorderLayout.CENTER);
|
||||
@@ -181,10 +189,15 @@ public class GUI extends JFrame{
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
texturenlabel.addMouseListener(new MouseAdapter() {
|
||||
@Override
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
texturenauswaehlen_GUI texturenauswahl = new texturenauswaehlen_GUI(texturenpakete);
|
||||
texturenauswahl.setVisible(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user