From 399b7e0fe180d38ad926b6e4666efaa88a296311 Mon Sep 17 00:00:00 2001 From: Eideen Date: Tue, 9 Mar 2021 17:25:55 +0100 Subject: [PATCH] Generation Tab at launch --- src/lsystem/screen/main/MainFrame.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lsystem/screen/main/MainFrame.java b/src/lsystem/screen/main/MainFrame.java index 00e852d..fe4a071 100644 --- a/src/lsystem/screen/main/MainFrame.java +++ b/src/lsystem/screen/main/MainFrame.java @@ -43,6 +43,9 @@ public class MainFrame extends JFrame { this.add(tabs); this.add(toolBar, BorderLayout.NORTH); this.setPreferredSize(new Dimension(640,600)); + + nbTabs++; + new Tab(nbTabs, nbRules, tabs); } public void newHelp() {