Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

auto-update of editor pane ...

Pascal Got
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to develope something like the "tail -f" command on UNIX (which shows the lines of a file and if the file is changed, automatically picks up the new lines and display them) ina swing application with possibility to highlight the text on certain keywords.
Has someone done something like this ?
I started doing things like reading the file every seconds and refreshing my editor pane if the file size changed but :
1) it's slow (file is several Mo)
2) can't get highlight to work ...
3) how do I set up highlights of specific keywords ?
lots of questions.... I expect lots of answers ...

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic