I'm writing a software component that displays on-the-fly the content of a certain log file. Think of boosted-up tail -f
. It should be a part of a bigger GUI.
I was wondering which GUI componenet should I choose to implement the scrollable textarea which should display the log file output.
Three my main requirements are:
- Search - let the user find words in the log output. I'll emphasize that search cannot be implemented by filter. I want to jump to the a cell containing
foo
in the log file without hiding its neighbors which do not containfoo
, unlike filtering. - Copy - it should enable to select and copy lines easily (That's why I ruled out DataGrid based solutions).
- Filter - it should enable me to hide certain lines easily.
- Colors - it'd be nice to have the ability to use certain colors sometimes (based on filters)
It would also be nice if the component would obey the MVC pattern.
Of course it is possible to implement all of those with regular read-only textarea, but I was wonderring if there's something easier. The only unusual feature here is to filter, after all searchable text area seems to me like a common requirement.
Java GUI solutions might also be accepted (it could be used for a java app as well).
BareTail is similar to what I'm looking for, but unfortunately it's not availible as a component.