Overview of dynamic dialog boxes
Introduction
When an MDAC developer wants to "dialog" with a user, he
can create a dialog box, either modal or non-modal, through which communication
can take place. Modal dialog boxes block
other operations until the dialog box is closed, whilst non-modal dialog boxes
can be left open whilst other actions are carried out. For example:
JBox box;
//start processing
box.show()
//end processing
The last
line of the above code will only be executed after the dialog box has been
closed.
Controls are
positioned vertically by default. This positioning
is handled by a cursor, which updates its vertical or horizontal position during the next control.
The
following diagram illustrates the different metaclasses
used (Figure 15).

Figure 15. Class diagram of the different metaclasses used
Various features can be added to these dialog box, whether modal or non-modal, for example, text fields or combo boxes.
J boxes are constructed in horizontal sections and/or vertical sections.