瀏覽代碼

Don't load the example file by default.

Sam Jaffe 5 年之前
父節點
當前提交
b31de239be
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      src/main/lombok/org/leumasjaffe/recipe/view/RecipeManagerFrame.java

+ 1 - 5
src/main/lombok/org/leumasjaffe/recipe/view/RecipeManagerFrame.java

@@ -16,7 +16,6 @@ import javax.swing.JMenu;
 public class RecipeManagerFrame extends JFrame implements FileController.ViewModel {
 	
 	public RecipeManagerFrame() {
-//		RecipeCardPanel panel = new RecipeCardPanel();
 		FileController fileController = new FileController(this);
 
 		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
@@ -27,10 +26,7 @@ public class RecipeManagerFrame extends JFrame implements FileController.ViewMod
 		JMenu mnFile = new FileMenu(this, fileController);
 		menuBar.add(mnFile);
 		
-//		setContentPane(panel);
-
-//		fileController.create();
-		fileController.open("src/test/resources/example.json");
+		fileController.create();
 
 		pack();
 		repaint();