CHAPTER 4

image

More GUI and the Visual Editor

This chapter will explore GUI components in more depth. We will introduce the concepts behind listeners and event driven programming. We will then, show how to implement listeners, use them to solve the “window closing” problem (from the previous chapter), and enable buttons to perform functions. In addition, we will show, in more detail, the advantages of inheritance (i.e., specialization), especially how it decreases the amount of source code that must be written by the programmer. Finally, we will introduce RAD’s Visual Editor (VE). VE is a very productive tool for generating GUI classes. Through an ...

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.