|
@ -57,6 +57,7 @@ public class StartDarkSoulsGame { |
|
|
|
|
|
|
|
|
titleNamePanel.add(titelNameLabel); |
|
|
titleNamePanel.add(titelNameLabel); |
|
|
StartButtonPanel.add(startButton); |
|
|
StartButtonPanel.add(startButton); |
|
|
|
|
|
startButton.setFocusPainted(false); |
|
|
|
|
|
|
|
|
con.add(titleNamePanel); |
|
|
con.add(titleNamePanel); |
|
|
con.add(StartButtonPanel); |
|
|
con.add(StartButtonPanel); |
|
@ -91,24 +92,28 @@ public class StartDarkSoulsGame { |
|
|
choice1.setBackground(Color.black); |
|
|
choice1.setBackground(Color.black); |
|
|
choice1.setForeground(Color.white); |
|
|
choice1.setForeground(Color.white); |
|
|
choice1.setFont(normalFont); |
|
|
choice1.setFont(normalFont); |
|
|
|
|
|
choice1.setFocusPainted(false); |
|
|
choiceButtonPanel.add(choice1); |
|
|
choiceButtonPanel.add(choice1); |
|
|
|
|
|
|
|
|
choice2 = new JButton("Choice 2"); |
|
|
choice2 = new JButton("Choice 2"); |
|
|
choice2.setBackground(Color.black); |
|
|
choice2.setBackground(Color.black); |
|
|
choice2.setForeground(Color.white); |
|
|
choice2.setForeground(Color.white); |
|
|
choice2.setFont(normalFont); |
|
|
choice2.setFont(normalFont); |
|
|
|
|
|
choice2.setFocusPainted(false); |
|
|
choiceButtonPanel.add(choice2); |
|
|
choiceButtonPanel.add(choice2); |
|
|
|
|
|
|
|
|
choice3 = new JButton("Choice 3"); |
|
|
choice3 = new JButton("Choice 3"); |
|
|
choice3.setBackground(Color.black); |
|
|
choice3.setBackground(Color.black); |
|
|
choice3.setForeground(Color.white); |
|
|
choice3.setForeground(Color.white); |
|
|
choice3.setFont(normalFont); |
|
|
choice3.setFont(normalFont); |
|
|
|
|
|
choice3.setFocusPainted(false); |
|
|
choiceButtonPanel.add(choice3); |
|
|
choiceButtonPanel.add(choice3); |
|
|
|
|
|
|
|
|
choice4 = new JButton("Choice 4"); |
|
|
choice4 = new JButton("Choice 4"); |
|
|
choice4.setBackground(Color.black); |
|
|
choice4.setBackground(Color.black); |
|
|
choice4.setForeground(Color.white); |
|
|
choice4.setForeground(Color.white); |
|
|
choice4.setFont(normalFont); |
|
|
choice4.setFont(normalFont); |
|
|
|
|
|
choice4.setFocusPainted(false); |
|
|
choiceButtonPanel.add(choice4); |
|
|
choiceButtonPanel.add(choice4); |
|
|
|
|
|
|
|
|
playerPanel = new JPanel(); |
|
|
playerPanel = new JPanel(); |
|
|