Skip to content

Commit

Permalink
back to working code that I did not realize worked
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffSabol committed Jun 26, 2024
1 parent 0c11ef0 commit 9712546
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9712546

Please # to comment.