Templates

To simplify the creation of an applet and to define a uniform appearance, the PhysBeans library contains a few templates that can be used as starting points, either by just copying and renaming them or by actually defining them as templates in the IDE. They fix the layout and global arrangement of components by providing three basic areas:

Each panel is shown in a characteristic color, which simplifies the usage of the applets. The components usually are surrounded by simple borders, but this feature can be switched off for some beans to allow for grouping of some elements. The following templates are available, each one defining a special layout: