Search:

Type: Posts; User: nasi

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    5,210

    Re: refreshing JEditorPane

    no answer :(
  2. Replies
    9
    Views
    5,210

    Re: refreshing JEditorPane

    This is similar to what I am doing and generates nullPointer thread. more over it doesn't write the Content to my JEditorPane (tArea) properly



    package test;

    import java.io.DataOutputStream;...
  3. Replies
    9
    Views
    5,210

    Re: refreshing JEditorPane

    it is multiple classes, I can't post all of it. the following is the code that generates this thread



    while(r>0 & r<l & e>0){

    dos.writeBytes(Results.substring(r, e));
    ...
  4. Replies
    9
    Views
    5,210

    Re: refreshing JEditorPane

    I solved the problem by clearing the stream description property but now I got this exception



    Exception in thread "Thread-14" java.lang.NullPointerException
    at...
  5. Replies
    9
    Views
    5,210

    Re: refreshing JEditorPane

    this is the loop




    File file = new File("result.html");
    while(r>0 & r<l & e>0){

    fos = new FileOutputStream(file);
    dos = new DataOutputStream(fos);
  6. Replies
    9
    Views
    5,210

    Re: refreshing JEditorPane

    I call it in a while loop which is in a method as a part of mouse listener class.
  7. Replies
    9
    Views
    5,210

    refreshing JEditorPane

    I need to refresh the content of a JEditor Pane multiple times, I am using the following code for this purpose


    java.net.URL Content = file.toURI().toURL();
    if (Content != null) {...
Results 1 to 7 of 7