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 ...
Get JavaBeans Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.