diff --git a/README.md b/README.md index 1b01721..f770c1e 100644 --- a/README.md +++ b/README.md @@ -18,5 +18,4 @@ Since Tengwar is inherently a phonetic script, converting english to Tengwar wou ### To-Do List * Implement s-curls. -* Find a way to display the PDF manual in the UI. - +* Add more text editing options, like color, italics, bold, indentation, and so on... diff --git a/src/net/agspace/Window.java b/src/net/agspace/Window.java index ae458b0..107dba7 100644 --- a/src/net/agspace/Window.java +++ b/src/net/agspace/Window.java @@ -188,10 +188,10 @@ public class Window { */ public void onEnglishModeAboutClicked(){ if (Desktop.isDesktopSupported()){ - try { - Desktop.getDesktop().open(new File(this.getClass().getClassLoader().getResource("resources/EnglishOnetoOneTengwarV2-1.pdf").getFile())); - } catch (IOException e1) { - e1.printStackTrace(); + try{ + Desktop.getDesktop().browse(new URI("https://github.com/andrewlalis/TengwarTranslator/blob/master/src/resources/EnglishOneToOneTengwarV2-1.pdf")); + } catch (URISyntaxException | IOException e){ + e.printStackTrace(); } } }