PAUL CORAZZA
Java Articles Page
The If-Then-Else Framework: Coding branching logic without nested if's.
JavaWorld [All three parts appeared in the year 2000. Part I appeared in April, Part II in May, and Part III in June.]

This is a 3-part article that describes how you can write branching logic in Java without complicated nested-if code, using a simple framework.

Part I of If-Then-Else article (Word 97)
Part II of If-Then-Else article (Word 97)
Part III of If-Then-Else article (Word 97)
Resource Page, Part I for the If-Then-Else article (Word 97)
Resource Page, Part III for the If-Then-Else article (Word 97)
Run sample code on-line [requires JDK 1.1 together with Swing 1.0.3; newer versions don't work because of package changes made by Sun]
View JavaDocs, Part I on-line
View JavaDocs, Part III on-line
Source files for Framework and Sample, Part I (WinZip 7.0)
Source files for Framework and Sample, Part III (WinZip 7.0)

All three parts can be read directly on the JavaWorld website:

Part I at JavaWorld
Part II at JavaWorld
Part III at JavaWorld

HOME