Browse Source

[MouseGame Class]: Hinzufügen des inneren Panels.

remotes/origin/textadventure
fdai7382 2 years ago
parent
commit
9f2ea566d8
  1. 9
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

9
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

@ -9,6 +9,7 @@ import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
public class MouseGame extends JFrame {
@ -62,6 +63,14 @@ public class MouseGame extends JFrame {
lblNewLabel.setBounds(809, 531, 67, 49);
contentPane.add(lblNewLabel);
JPanel panel = new JPanel();
panel.setBorder(new LineBorder(new Color(0, 0, 0), 2));
panel.setForeground(new Color(0, 0, 0));
panel.setBounds(103, 11, 696, 569);
contentPane.add(panel);
panel.setLayout(null);
}//end standardkonstruktor

Loading…
Cancel
Save