Procházet zdrojové kódy

changing background colours

tarfeef101 před 6 roky
rodič
revize
dcfe934fc3

+ 1 - 1
assignments/a3/src/main/java/Controls.java

@@ -52,7 +52,7 @@ public class Controls extends JPanel implements Observer
   {
     this.model = model;
     this.customlistener = new customListener();
-    this.setBackground(Color.cyan);
+    this.setBackground(new Color(255, 75, 50));
     this.setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
     this.setPreferredSize(new Dimension(1280,75));
     this.setMinimumSize(new Dimension(320, 75));

+ 1 - 1
assignments/a3/src/main/java/Gallery.java

@@ -16,7 +16,7 @@ public class Gallery extends JPanel implements Observer
     // changes.
     this.model = model;
     this.setLayout(new FlowLayout(10));
-    this.setBackground(Color.white);
+    this.setBackground(Color.cyan);
     this.items = new ArrayList();
     reList();
     reFill();