Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Re: JEditorPane doesn't load html file when jar executable run

    Sorry, I do not know how to make your IDE change the manifest file it uses.
    I tried this experiment:


    // Test using getResource() from jar

    import java.net.*;


    public class...
  2. Re: JEditorPane doesn't load html file when jar executable run

    The getResource() method uses the classpath to find the resource.
    In the IDE the classpath included:
    C:\Users\giannis\Documents\NetBeansProjects\SnoozeShutdown\build\classes
    and the path to the...
  3. Re: JEditorPane doesn't load html file when jar executable run

    What is printed out for the value of the URL for when the code works and for when it does not work?
    Print the value of pageURL right after the call to getResource();

    What is the value of the...
  4. Re: JEditorPane doesn't load html file when jar executable run

    Add a call to printStackTrace() to the exception's catch block to get the full text of the error message.
    Also add a println() to print out the URL to the page. Compare the value when the code...
Results 1 to 4 of 4