Frame dialogOwner = new Frame();
dialogOwner.setTitle("Dialog Owner");
dialogOwner.setPreferredSize(160, 60);
dialogOwner.open(display);
Dialog dialog = new Dialog();
dialog.setTitle("Dialog 1");
dialog.setPreferredSize(160, 60);
dialog.open(dialogOwner);
Dialog dialog2 = new Dialog();
dialog2.setTitle("Dialog 2");
dialog2.setPreferredSize(160, 60);
dialog2.open(dialog);
}