下面列出了javax.swing.RootPaneContainer#setGlassPane ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
public final void run() {
try {
exectute();
SwingUtilities.invokeAndWait(new Runnable() {
public void run() {
afterComplete();
}
});
} catch(Exception err) {
err.printStackTrace();
} finally {
t.stop();
RootPaneContainer r = (RootPaneContainer)ResourceEditorApp.getApplication().getMainFrame();
r.setGlassPane(glassPane);
}
}
public BaseForm() {
RootPaneContainer r = (RootPaneContainer)ResourceEditorApp.getApplication().getMainFrame();
r.setGlassPane(new JLabel());
}