Strange, there's no %20 space replace in Linux? Well, the replace still shouldn't cause an issue so it's still cross-platform at least. :)
Type: Posts; User: StevenTNorris
Strange, there's no %20 space replace in Linux? Well, the replace still shouldn't cause an issue so it's still cross-platform at least. :)
Solved it. I was so used to seeing special character code I didn't notice it at first. The ClassLoader.getSystemResource(path).getFile() was replacing all spaces with %20. I'm assuming this is a URL...
the filename is coming back null from ClassLoader.getSystemResource. I modified the code to the below to pinpoint the exact null reference.
Thanks Tjstretch. Now I"m getting a new error on the same line, null pointer reference. I'm not sure where this would be coming from, unless somehow the Desktop is returning null. I haven't used the...
I'd really like to have a PDF open instead of a text. How would I go about making that work?
I'm attempting to open a pdf help file on button click. However I get the "File not found" error on button click. None of the JOptionPanes show, leading me to below it isn't even catching the error....