My bad...the correct syntax is toURL - which by chance is deprecated. (see File - toURL)). The work around is to convert to a URI then to a URL:
java.net.URL helpURL = file.toURI().toURL();
Type: Posts; User: copeg
My bad...the correct syntax is toURL - which by chance is deprecated. (see File - toURL)). The work around is to convert to a URI then to a URL:
java.net.URL helpURL = file.toURI().toURL();
nasi, try using the method getURL() from the File class to feed into the setPage function.
java.net.URL helpURL = file.getURL();//UpLoadListener.class.getResource( file.getPath());
The...
Unfortunately java SE lacks in this category. The JEditorPane has limited html capabilities, and there isn't another class in java SE that can do so. You'll have to a) use third party software such...