![]()
Fig. 153: SInternalFrame Icons
A SInternalFrame is a window with frame, title bar and optional standard buttons to maximize, minimize and close the window. A SInternalFrame can be created inside of a SDesktopPane.

Fig. 154: SDesktopPane with SInternalFrames
For this, a SDesktopPane will be created. Now the needed SInternalFrames will be dragged into the SDesktopPane.

Fig. 155: Component tree of SDesktopPane with SInternalFrames
Now it can be filled with compponents like other containers. The property BeanLayout defines the Layout, by eich the components will be alligned.
With the property JMenuBar a menubar can be
assigned to the SInternalFrames. The property Resizeable defines, wther the size can be changed by
the user. By activating the properties Iconifiable, Maximizable and
Closeable the according system buttons
to
minimize,
to maximize and
to close will be shown in
the title bar and the according menu entries in the system menu will be
activated. As window icon, every image in the eva/3 project can be selected by the property FrameIcon.
When the property Closable is activated, the SInternalFrames can be closed as follows:
Note: When the system command CloseActiveForm will be called by components of the SInternalFrames, not the SInternalFrame but the form wich contains the SDesktopPane will be closed.
Note: A SInternalFrame can be created in containers, that are not SDesktopPanes, but it is however advised against, because their behavior differs from the SDesktopPane, wich forces painting problems.
With the system command OpenSInternalSFrame, SInternalSFrames can be inserted into the SDesktopPane at runtime.