Quellcode durchsuchen

Don't load the example file by default.

Sam Jaffe vor 5 Jahren
Ursprung
Commit
b31de239be

+ 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();