diff --git a/src/lsystem/screen/main/Listener.java b/src/lsystem/screen/main/Listener.java index cde62d9..913a63d 100644 --- a/src/lsystem/screen/main/Listener.java +++ b/src/lsystem/screen/main/Listener.java @@ -33,6 +33,14 @@ public class Listener implements ActionListener, KeyListener { @Override public void actionPerformed(ActionEvent e) { switch (type) { + case "Close": + frame.getTab().removeTabAt(index-1); + frame.decreaseTab(); + for(int i = 0; i