June 2002
Beginner to intermediate
640 pages
14h 24m
English
Terms in This Chapter
Coupling
Encapsulation
Event-driven programming
Event model
Graphics object
Hit testing
Input focus
Modularity
Polyline
Scaffolding code
Static versus interactive mode
Unit level test
In this chapter, we'll learn the basics of events and graphics. These are the things you'll need to know when you write your own graphical components. In particular, you'll need to understand the event model and some rudimentary graphics programming. In a later chapter, we'll see how to package your component in a Java bean so you can distribute it to the unsuspecting world. We're just scratching the surface of graphics in this book.
Read now
Unlock full access