CHAPTER 6

image

Conditional Logic and Checkboxes

In this chapter, we will tackle conditional logic. Conditional logic, also called “If Then Else” logic, is used extensively in programming. It has probably been used in almost every “real-world” program ever written! We will use conditional logic to enhance our applications so that frames can perform multiple functions and execute calculations that are more realistic. (Conditional logic can be a little baffling to first-time programmers but I have confidence in you!) In addition, we will cover some new GUI components, item events, and delve deeper into comparison operators.

Because our application logic ...

Get Beginning Java with WebSphere now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.