Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- programButton.addActionListener((ActionEvent arg0) -> {
- try {
- Desktop.getDesktop().open(new File("../../directory/program.jar"));
- System.exit(1);
- } catch (IOException ex) {
- System.out.println(ex.getMessage());
- }
- });
Add Comment
Please, Sign In to add comment