O'Reilly logo

Core Java® Volume II—Advanced Features, Ninth Edition by Gary Cornell, Cay S. Horstmann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8.1. Why Beans?

Programmers with experience in Visual Basic will immediately recognize why beans are so important. Programmers coming from environments where the tradition is to “roll your own” for everything often find it hard to believe that Visual Basic is one of the most successful examples of reusable object technology. For those who have never worked with Visual Basic, here, in a nutshell, is how you build a Visual Basic application:

1. Build the interface by dropping components (called controls in Visual Basic) onto a form window.

2. Through property inspectors, set the components’ properties such as height, color, or behavior.

3. The property inspectors also list the events to which components can react. Some events can be hooked up ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required