fixed PDF issue and updated TODO List

This commit is contained in:
Andrew Lalis 2017-04-25 08:31:57 +02:00
parent 4cd1597d7b
commit b894c67900
2 changed files with 5 additions and 6 deletions

View File

@ -18,5 +18,4 @@ Since Tengwar is inherently a phonetic script, converting english to Tengwar wou
### To-Do List ### To-Do List
* Implement s-curls. * 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...

View File

@ -189,9 +189,9 @@ public class Window {
public void onEnglishModeAboutClicked(){ public void onEnglishModeAboutClicked(){
if (Desktop.isDesktopSupported()){ if (Desktop.isDesktopSupported()){
try{ try{
Desktop.getDesktop().open(new File(this.getClass().getClassLoader().getResource("resources/EnglishOnetoOneTengwarV2-1.pdf").getFile())); Desktop.getDesktop().browse(new URI("https://github.com/andrewlalis/TengwarTranslator/blob/master/src/resources/EnglishOneToOneTengwarV2-1.pdf"));
} catch (IOException e1) { } catch (URISyntaxException | IOException e){
e1.printStackTrace(); e.printStackTrace();
} }
} }
} }