Tutorial: Dialog I/O: Kilometers to Miles with Method
This program is the same as Kilometers to Miles,
Tutorial Details:
This program is the same as Kilometers to Miles, but with one change: the conversion of kilometers to miles is done in a method.
Note 1: Call a method to do the conversion. Altho this method is trivial, just a multiplication, it is good practice to separate the "model" or "logic" of the program from user interface. As programs become larger, this separation becomes essential.
JDemo: Interactive Testing Refactored
This article will introduce the JDemo framework and its techniques for writing code for interactive testing. It will also show the benefits that can be gained from writing demo code.
Creating Wizard Dialogs with Java Swing
Wizard dialogs are ubiquitous in today's desktop applications. This article creates a framework for a simple wizard dialog, complete with Back, Next, and Cancel buttons that you can extend for use in your applications as necessary.