Ver Fonte

have a fotag in the header, but need more space around the text. might try a border layout next...

tsdedhar há 6 anos atrás
pai
commit
b77946e695

BIN
assignments/a3/.gradle/4.7/fileHashes/fileHashes.bin


BIN
assignments/a3/.gradle/4.7/fileHashes/fileHashes.lock


BIN
assignments/a3/.gradle/4.7/taskHistory/taskHistory.bin


BIN
assignments/a3/.gradle/4.7/taskHistory/taskHistory.lock


BIN
assignments/a3/.gradle/buildOutputCleanup/buildOutputCleanup.lock


BIN
assignments/a3/build/classes/java/main/Controls.class


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

@@ -222,7 +222,7 @@ public class Controls extends JPanel implements Observer, Serializable
     this.model = model;
     this.customlistener = new customListener();
     this.superlistener = new superListener();
-    this.setBackground(new Color(255, 75, 50));
+    this.setBackground(Color.white);
     this.setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
     this.setPreferredSize(new Dimension(1280,75));
     this.setMinimumSize(new Dimension(320, 75));
@@ -319,6 +319,7 @@ public class Controls extends JPanel implements Observer, Serializable
 
     this.add(grid);
     this.add(list);
+    this.add(new JLabel("Fotag!"));
     this.add(star1);
     this.add(star2);
     this.add(star3);