Preparations

JavaBeans is a component based programming model on top of the Java programming language [17,6], which reduces programming to simple graphical operations as far as possible. It is applied mostly for the construction of graphical user interfaces, but can be used more generally, as is shown here. Working with JavaBeans consists mainly of the following steps:

To work with JavaBeans you need the Java development kit (Java-SDK), a graphical programming environment (IDE = Integrated Development Environment) and of course a set of beans. All descriptions in this book refer to the NetBeans IDE [4], which is open source, but different IDEs can be used as well, generally in a very similar way. All beans that are used in the following are part of the PhysBeans library, that can be downloaded from this site. In addition you can use the beans of the Swing library which is part of the Java SDK.

First you have to install all necessary programs as described in the following sections.

ZurückWeiter