Selaa lähdekoodia

didn't add the gallery, but rather the controls twice. oops

tarfeef101 6 vuotta sitten
vanhempi
commit
0a8bd37263
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      assignments/a3/src/main/java/Main.java

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

@@ -14,7 +14,7 @@ public class Main
     // create a layout panel to hold the views
     JPanel mainpanel = new JPanel(new BorderLayout(0, 0));
     window.getContentPane().add(mainpanel);
-    mainpanel.add(controls, BorderLayout.CENTER);
+    mainpanel.add(gallery, BorderLayout.CENTER);
     mainpanel.add(controls, BorderLayout.PAGE_START);
 
     // Setup the frame to do frame things