Java - Reading text files

In order to read a text file, you can use the BufferedReader class in the java.io package. The following simple class starts up, reads a text file and prints each line to the screen, then closes the text file and exits. [Read More]
Tags: java

Threading with Java

Threads in Java can be very simple if you just stick to the basics. To run a thread in your class, you should implement the Runnable interface, and then place your thread code into the start(), stop() and run() methods. For example, you want to create a dialog that returns... [Read More]
Tags: java