| A Frame is the browser window. It is created by the Application instance and
automatically toggled to visible. When visible is set to false, the session
is closed.
Example:
Frame frm = Application.current().getFrame();
frm.setTitle("Frame Test");
for (int i = 0; i < 5; i++) {
Dialog dlg = new Dialog();
dlg.setBounds((i * 100) + 10, 10, 90, 300);
dlg.setTitle("Dlg-" + (i + 1) + "-" + dlg.getX() + "-" + dlg.getY());
Label lb = new Label("#" + (i + 1));
lb.setBounds(10, 10, 50, 30);
dlg.getChildren().add(lb);
frm.getChildren().add(dlg);
}
author: Joshua J. Gertzen |