From 97125463355296285c4cacf2e8f2a15d3de5902e Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 25 Jun 2024 23:50:48 -0400 Subject: [PATCH] back to working code that I did not realize worked --- Main.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Main.java b/Main.java index 111b541..09ae8b0 100644 --- a/Main.java +++ b/Main.java @@ -515,17 +515,9 @@ public void actionPerformed(ActionEvent e) { frame.setSize(1000, 700); frame.setVisible(true); } - - private static boolean isWindows() { - return System.getProperty("os.name").toLowerCase().contains("win"); - } private static Path getPath(String... parts) { - if (isWindows()) { - return Paths.get("DataBender", parts); - } else { - return Paths.get("", parts); - } + return Paths.get("", parts); } private static void checkFileExists(String path) {