JavaBeans Are Objects
Swing is just one of the areas where Java uses packages of classes to assist in the development of software. Because objects are the complete packages we describe, we can extrapolate this concept to that of components. There are many definitions of components; depending on what language or model you're using, you may run into different terms. I teach students that they might encounter one or more of these terms:
Component
Control
Widget
Bean
Typically, the term control is associated with Microsoft products like Visual Basic. The term JavaBean, or simply bean, is associated with Java. In his book Building Web Applications with UML, Jim Conallen defines the JavaBean component model as consisting of the following:
Introspection ...
Get Object-Oriented Thought Process, The, Second Edition 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.