|
@ -17,6 +17,7 @@ public class StartDarkSoulsGame { |
|
|
JLabel titelNameLabel; |
|
|
JLabel titelNameLabel; |
|
|
JPanel StartButtonPanel; |
|
|
JPanel StartButtonPanel; |
|
|
JPanel mainTextPanel; |
|
|
JPanel mainTextPanel; |
|
|
|
|
|
JPanel choiceButtonPanel; |
|
|
JTextArea mainTextArea; |
|
|
JTextArea mainTextArea; |
|
|
Font titelFont = new Font("Times new Roman", Font.PLAIN, 90); |
|
|
Font titelFont = new Font("Times new Roman", Font.PLAIN, 90); |
|
|
Font normalFont = new Font ("Times new Roman", Font.PLAIN, 28); |
|
|
Font normalFont = new Font ("Times new Roman", Font.PLAIN, 28); |
|
@ -71,6 +72,12 @@ public class StartDarkSoulsGame { |
|
|
mainTextArea.setFont(normalFont); |
|
|
mainTextArea.setFont(normalFont); |
|
|
mainTextArea.setLineWrap(true); |
|
|
mainTextArea.setLineWrap(true); |
|
|
mainTextPanel.add(mainTextArea); |
|
|
mainTextPanel.add(mainTextArea); |
|
|
|
|
|
|
|
|
|
|
|
choiceButtonPanel = new JPanel(); |
|
|
|
|
|
choiceButtonPanel.setBounds(250, 350, 300, 150); |
|
|
|
|
|
choiceButtonPanel.setBackground(Color.blue); |
|
|
|
|
|
choiceButtonPanel.setLayout(new GridLayout(4,1)); |
|
|
|
|
|
con.add(choiceButtonPanel); |
|
|
} |
|
|
} |
|
|
public class TitelScreenHandler implements ActionListener{ |
|
|
public class TitelScreenHandler implements ActionListener{ |
|
|
public void actionPerformed(ActionEvent event) { |
|
|
public void actionPerformed(ActionEvent event) { |
|
|