diff --git a/src/main/java/main/RunsheetGenerator.java b/src/main/java/main/RunsheetGenerator.java index cff6662..817153e 100644 --- a/src/main/java/main/RunsheetGenerator.java +++ b/src/main/java/main/RunsheetGenerator.java @@ -1,6 +1,8 @@ package main; import ui.*; +import java.awt.Desktop; +import java.io.File; import java.io.FileOutputStream; import javax.swing.UIManager; @@ -39,5 +41,8 @@ public static void main(String[] args) throws Exception { runsheet.write(out); runsheet.close(); out.close(); + + // Open runsheet + Desktop.getDesktop().open(Settings.runsheetPath.toFile()); } } \ No newline at end of file