Click here to Skip to main content
15,884,177 members

Comments by Osmund Francis (Top 6 by date)

Osmund Francis 18-Jul-14 15:46pm View    
You can create a dialog to let the user select a file/folder. This is achieved through the Java Swing JFileChooser class:
http://docs.oracle.com/javase/tutorial/uiswing/components/filechooser.html

Is this the functionality that you were seeking?
Osmund Francis 17-Jul-14 10:19am View    
For a JavaTM component that has decent HTML support (with Javascript and Cascade Style-Sheets), I recommend using JavaFX.

You may also choose to simply embed JavaFX in a Swing application. See the following example:
http://docs.oracle.com/javafx/2/swing/SimpleSwingBrowser.java.htm
Osmund Francis 17-Jul-14 10:09am View    
Logging with the ability to filter is not a trivial task.

I've updated my solution with a code snippet that simply adds a date-time stamp every time a new-line character is detected.
Osmund Francis 17-Jul-14 9:54am View    
Deleted
Logging with the ability to filter is not a trivial solution. A quick fix would be to time-stamp the data.
Osmund Francis 17-Jul-14 9:45am View    
I apologise, the isAlive() method is a Java™ 8 feature. I'll update my solution.