Explorar o código

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

tarfeef101 %!s(int64=6) %!d(string=hai) anos
pai
achega
0a8bd37263
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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