use of org.vcell.util.gui.GlassPane in project vcell by virtualcell.
the class ClientMDIManager method blockWindow.
public static Window blockWindow(Component component) {
Window window = (Window) BeanUtils.findTypeParentOfComponent(component, Window.class);
if (window instanceof RootPaneContainer) {
GlassPane glass = new GlassPane(true);
((RootPaneContainer) window).setGlassPane(glass);
glass.setVisible(true);
}
return window;
}
Aggregations