|
@ -24,6 +24,8 @@ public class MouseGame extends JFrame { |
|
|
public Color farbeBeige = new Color(128, 128, 128); |
|
|
public Color farbeBeige = new Color(128, 128, 128); |
|
|
public Color farbeSchwarz = new Color(0, 0, 0); |
|
|
public Color farbeSchwarz = new Color(0, 0, 0); |
|
|
|
|
|
|
|
|
|
|
|
public Font fontTahoma = new Font("Tahoma", Font.BOLD, 30); |
|
|
|
|
|
|
|
|
int resetX = 200; |
|
|
int resetX = 200; |
|
|
int resetY = 170; |
|
|
int resetY = 170; |
|
|
|
|
|
|
|
@ -70,13 +72,13 @@ public class MouseGame extends JFrame { |
|
|
|
|
|
|
|
|
JLabel labelStart = new JLabel("Start"); |
|
|
JLabel labelStart = new JLabel("Start"); |
|
|
labelStart.setHorizontalAlignment(SwingConstants.CENTER); |
|
|
labelStart.setHorizontalAlignment(SwingConstants.CENTER); |
|
|
labelStart.setFont(new Font("Tahoma", Font.BOLD, 30)); |
|
|
|
|
|
|
|
|
labelStart.setFont(fontTahoma); |
|
|
labelStart.setBounds(10, 11, 83, 49); |
|
|
labelStart.setBounds(10, 11, 83, 49); |
|
|
contentPane.add(labelStart); |
|
|
contentPane.add(labelStart); |
|
|
|
|
|
|
|
|
JLabel labelZiel = new JLabel("Ziel"); |
|
|
JLabel labelZiel = new JLabel("Ziel"); |
|
|
labelZiel.setHorizontalAlignment(SwingConstants.CENTER); |
|
|
labelZiel.setHorizontalAlignment(SwingConstants.CENTER); |
|
|
labelZiel.setFont(new Font("Tahoma", Font.BOLD, 30)); |
|
|
|
|
|
|
|
|
labelZiel.setFont(fontTahoma); |
|
|
labelZiel.setBounds(809, 525, 67, 49); |
|
|
labelZiel.setBounds(809, 525, 67, 49); |
|
|
contentPane.add(labelZiel); |
|
|
contentPane.add(labelZiel); |
|
|
|
|
|
|
|
|