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