소스 검색

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

tarfeef101 6 년 전
부모
커밋
0a8bd37263
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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