Removed not used open from browser cache feature.

This commit is contained in:
Jindra Petřík
2023-09-28 19:15:25 +02:00
parent 7e86723b2e
commit 5a2da3a327
29 changed files with 1 additions and 2484 deletions

View File

@@ -179,8 +179,6 @@ public class Main {
private static LoadFromMemoryFrame loadFromMemoryFrame;
private static LoadFromCacheFrame loadFromCacheFrame;
private static final Logger logger = Logger.getLogger(Main.class.getName());
public static DebugLogDialog debugDialog;
@@ -754,13 +752,6 @@ public class Main {
return null;
}
public static void loadFromCache() {
if (loadFromCacheFrame == null) {
loadFromCacheFrame = new LoadFromCacheFrame();
}
loadFromCacheFrame.setVisible(true);
}
public static void loadFromMemory() {
if (loadFromMemoryFrame == null) {
loadFromMemoryFrame = new LoadFromMemoryFrame(mainFrame);
@@ -1710,11 +1701,6 @@ public class Main {
loadFromMemoryFrame.dispose();
loadFromMemoryFrame = null;
}
if (loadFromCacheFrame != null) {
loadFromCacheFrame.setVisible(false);
loadFromCacheFrame.dispose();
loadFromCacheFrame = null;
}
if (mainFrame != null) {
mainFrame.setVisible(false);
mainFrame.getPanel().closeAll(false, false);