Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

auto-update of editor pane ...  RSS feed

 
Pascal Got
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
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 ...

Thx
P-
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!