Dialog boxes using the swing set can be created using a combination of the JOptionPane and JDialog classes. For example, to create an error box:
[Read More]
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]
To show a standard windows dialog box, you need to import the java.awt.FileDialog class, which can be used to display files on your machine in the following way:
[Read More]