|
@ -67,7 +67,7 @@ public class StartDarkSoulsGame { |
|
|
StartButtonPanel.setVisible(false); |
|
|
StartButtonPanel.setVisible(false); |
|
|
mainTextPanel = new JPanel(); |
|
|
mainTextPanel = new JPanel(); |
|
|
mainTextPanel.setBounds(100, 100, 600,250); |
|
|
mainTextPanel.setBounds(100, 100, 600,250); |
|
|
mainTextPanel.setBackground(Color.red); |
|
|
|
|
|
|
|
|
mainTextPanel.setBackground(Color.black); |
|
|
con.add(mainTextPanel); |
|
|
con.add(mainTextPanel); |
|
|
|
|
|
|
|
|
mainTextArea = new JTextArea("Main Text Area"); |
|
|
mainTextArea = new JTextArea("Main Text Area"); |
|
@ -80,7 +80,7 @@ public class StartDarkSoulsGame { |
|
|
|
|
|
|
|
|
choiceButtonPanel = new JPanel(); |
|
|
choiceButtonPanel = new JPanel(); |
|
|
choiceButtonPanel.setBounds(250, 350, 300, 150); |
|
|
choiceButtonPanel.setBounds(250, 350, 300, 150); |
|
|
choiceButtonPanel.setBackground(Color.blue); |
|
|
|
|
|
|
|
|
choiceButtonPanel.setBackground(Color.black); |
|
|
choiceButtonPanel.setLayout(new GridLayout(4,1)); |
|
|
choiceButtonPanel.setLayout(new GridLayout(4,1)); |
|
|
con.add(choiceButtonPanel); |
|
|
con.add(choiceButtonPanel); |
|
|
|
|
|
|
|
@ -110,7 +110,7 @@ public class StartDarkSoulsGame { |
|
|
|
|
|
|
|
|
playerPanel = new JPanel(); |
|
|
playerPanel = new JPanel(); |
|
|
playerPanel.setBounds(100,15,600,50); |
|
|
playerPanel.setBounds(100,15,600,50); |
|
|
playerPanel.setBackground(Color.red); |
|
|
|
|
|
|
|
|
playerPanel.setBackground(Color.black); |
|
|
playerPanel.setLayout(new GridLayout(1,4)); |
|
|
playerPanel.setLayout(new GridLayout(1,4)); |
|
|
|
|
|
|
|
|
hpLabel = new JLabel("HP:"); |
|
|
hpLabel = new JLabel("HP:"); |
|
|