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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.