Search in sources :

Example 1 with GlassPane

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;
}
Also used : TopLevelWindow(cbit.vcell.client.desktop.TopLevelWindow) FieldDataWindow(cbit.vcell.field.gui.FieldDataWindow) Window(java.awt.Window) DocumentWindow(cbit.vcell.client.desktop.DocumentWindow) TestingFrameworkWindow(cbit.vcell.client.desktop.TestingFrameworkWindow) RootPaneContainer(javax.swing.RootPaneContainer) GlassPane(org.vcell.util.gui.GlassPane)

Aggregations

DocumentWindow (cbit.vcell.client.desktop.DocumentWindow)1 TestingFrameworkWindow (cbit.vcell.client.desktop.TestingFrameworkWindow)1 TopLevelWindow (cbit.vcell.client.desktop.TopLevelWindow)1 FieldDataWindow (cbit.vcell.field.gui.FieldDataWindow)1 Window (java.awt.Window)1 RootPaneContainer (javax.swing.RootPaneContainer)1 GlassPane (org.vcell.util.gui.GlassPane)1