diff --git a/MiniCraftLauncher/src/com/mt/minilauncher/LauncherWindow.java b/MiniCraftLauncher/src/com/mt/minilauncher/LauncherWindow.java index 01efef4..319bb38 100644 --- a/MiniCraftLauncher/src/com/mt/minilauncher/LauncherWindow.java +++ b/MiniCraftLauncher/src/com/mt/minilauncher/LauncherWindow.java @@ -35,7 +35,6 @@ import java.awt.Color; import javax.swing.JPanel; import javax.swing.border.BevelBorder; -import javax.swing.border.EtchedBorder; import javax.swing.JCheckBoxMenuItem; public class LauncherWindow { @@ -192,6 +191,8 @@ public void actionPerformed(ActionEvent e) { cleanFolderMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Initializer.cleanFolders(); + getList().setModel(new DefaultListModel()); + getList().updateUI(); } }); editMenu.add(cleanFolderMenuItem);