use of org.vcell.client.logicalwindow.transition.LWJDialogDecorator in project vcell by virtualcell.
the class DialogUtils method showModalJDialogOnTop.
/**
* @deprecated -- use setVisible on LWDialog
* @param jdialog
* @param component
*/
public static void showModalJDialogOnTop(JDialog jdialog, Component component) {
if (jdialog instanceof LWDialog) {
jdialog.setVisible(true);
return;
}
LWContainerHandle lwParent = LWNamespace.findLWOwner(component);
LWJDialogDecorator deco = LWJDialogDecorator.decoratorFor(jdialog);
lwParent.manage(deco);
deco.getWindow().setVisible(true);
}
Aggregations