diff --git a/src/main/java/views/MainFrame.java b/src/main/java/views/MainFrame.java index 4b24ea1..ddc4797 100644 --- a/src/main/java/views/MainFrame.java +++ b/src/main/java/views/MainFrame.java @@ -13,8 +13,7 @@ public MainFrame() { super("Algolike"); - stepScheduler = new StepScheduler(); - var mainPanel = new MainPanel(stepScheduler, new Algo()); + var mainPanel = new MainPanel(new Algo()); this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); mainPanel.setVisible(true);