diff --git a/src/main/java/game/StartDarkSoulsGame.java b/src/main/java/game/StartDarkSoulsGame.java index aa17c8d..c1d74ec 100644 --- a/src/main/java/game/StartDarkSoulsGame.java +++ b/src/main/java/game/StartDarkSoulsGame.java @@ -5,17 +5,17 @@ import java.awt.Font; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; - import javax.swing.JPanel; import javax.swing.JTextArea; - import Gui.gui; - import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; -public class StartDarkSoulsGame { +public class StartDarkSoulsGame { + JPanel titleNamePanel; + JLabel titelNameLabel; + Font titelFont = new Font("Times new Roma", Font.PLAIN, 90); Container con; public StartDarkSoulsGame() { gui.Frame.setSize(800, 600); @@ -24,5 +24,12 @@ public class StartDarkSoulsGame { gui.Frame.setLayout(null); gui.Frame.setVisible(true); con = gui.Frame.getContentPane(); + titleNamePanel = new JPanel(); // commit 2 + titleNamePanel.setBounds(100,100,600, 150); // commit 2 + titleNamePanel.setBackground(Color.black); // commit 2 + titelNameLabel = new JLabel("Dark souls 4 "); // commit 2 + titelNameLabel.setForeground(Color.white); // comiit 2 + titelNameLabel.setFont(titelFont); // commit 2 + } }