Skip to content

Commit

Permalink
Open runsheet after generating
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeach committed Aug 2, 2017
1 parent 1f74b85 commit adfa2a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/main/RunsheetGenerator.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package main;
import ui.*;

import java.awt.Desktop;
import java.io.File;
import java.io.FileOutputStream;

import javax.swing.UIManager;
Expand Down Expand Up @@ -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());
}
}

0 comments on commit adfa2a4

Please sign in to comment.