Problem with documentlistener

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Narayanan Kaleeswaram

    Problem with documentlistener

    Hi,
    Document listener is not working with my application.I am setting the
    text pane content from
    a file .Reading from a file using read(inputstrea m,null) method.I
    added document listener to the document.
    But the events are not happening.Inste ad of using read method, If i am
    reading line by line from the file
    and setting that line to textpane it is working fine.But if the file
    is large this process is time consuming .
    Any body knows the solution please share that information.
    Thank you
Working...