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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access