O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

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

Controlling Visible Properties

The next step in making your PictureButton bean polished and professional for use in rapid application development (RAD) is to hide properties inherited from parent classes that don't make sense in your bean. Without any modifications, the Properties window for the PictureButton bean displays six properties, as shown in Figure 25.3.

Figure 25.3. The PictureButton bean displays six properties in BeanBox's Properties window, including four properties inherited from the Canvas class.

The PictureButton bean inherited the font property, but you haven't provided any provision for displaying text. Therefore, it doesn't ...

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