I want to view the log file in Unix OS.Normally we use tail command to view the log file contents dyanmically (as the log file changes, it shows the latest change to that log file). Basically i want to simulate the same thing with Swing component. Kindly let me know which component i can use.. more like editor where i would give the file to be viewed..It should be dynamically show me the content of the log file.
Shed some light on this.I would really appreciate
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35256
7
posted
0
Maybe JList. You could either use its setListData method to give it a list of the messages to display, or work explicitly with a ListModel via the setModel method.