I am writing a software component that displays the contents of a specific log file on the fly. Think about raising the level of tail -f . It should be part of a larger GUI.
I was wondering which component of the GUI component I should choose to implement a scrollable text field that should display the output of the log file.
My three basic requirements:
- Search - allows the user to find words in the output log file. We emphasize that the search cannot be implemented using a filter. I want to go to the cell containing
foo in the log file without hiding my neighbors that do not contain foo , as opposed to filtering. - Copy - this should make it easy to select and copy rows (why I excluded solutions based on DataGrid).
- Filter - it should allow me to easily hide certain lines.
- Colors - it would be nice to be able to sometimes use certain colors (based on filters).
It would be nice if the component obeyed the MVC pattern.
Of course, you can implement all those that have a regular read-only text area, but I was wondering if there was anything simpler. The only unusual feature here is filtering, since the entire searchable text area seems to me a general requirement.
Java GUI decisions can also be made (it can also be used for a java application).
BareTail seems to be what I'm looking for, but unfortunately it is not available as a component.
source share