Browse Source

change player & choicese & main text area panel color to black

master
Yazan Alaamer 2 years ago
parent
commit
9598812c68
  1. 6
      src/main/java/game/StartDarkSoulsGame.java

6
src/main/java/game/StartDarkSoulsGame.java

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

Loading…
Cancel
Save