本文整理了Java中javax.swing.JInternalFrame.setGlassPane()
方法的一些代码示例,展示了JInternalFrame.setGlassPane()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JInternalFrame.setGlassPane()
方法的具体详情如下:
包路径:javax.swing.JInternalFrame
类名称:JInternalFrame
方法名:setGlassPane
暂无
代码示例来源:origin: org.xworker/xworker_core
public static void createGlassPane(ActionContext actionContext){
Thing self = (Thing) actionContext.get("self");
JInternalFrame parent = (JInternalFrame) actionContext.get("parent");
for(Thing child : self.getChilds()){
Component c = (Component) child.doAction("create", actionContext);
if(c != null){
parent.setGlassPane(c);
break;
}
}
}
代码示例来源:origin: org.jspresso.framework/jspresso-swing-application
/**
* Creates a new JInternalFrame and populates it with a view.
*
* @param view
* the view to be set into the internal frame.
* @return the constructed internal frame.
*/
private JInternalFrame createJInternalFrame(JComponent view, String title,
Icon frameIcon) {
JInternalFrame internalFrame = new JInternalFrame(title);
internalFrame.setFrameIcon(frameIcon);
internalFrame.setResizable(true);
internalFrame.setClosable(true);
internalFrame.setMaximizable(true);
internalFrame.setIconifiable(true);
internalFrame.getContentPane().add(view, BorderLayout.CENTER);
internalFrame.setDefaultCloseOperation(WindowConstants.HIDE_ON_CLOSE);
internalFrame.setGlassPane(createHermeticGlassPane());
return internalFrame;
}
代码示例来源:origin: stackoverflow.com
setGlassPane(glassPane);
代码示例来源:origin: stackoverflow.com
setGlassPane(glassPane);
代码示例来源:origin: org.jspresso/jspresso-swing-application
/**
* Creates a new JInternalFrame and populates it with a view.
*
* @param view
* the view to be set into the internal frame.
* @return the constructed internal frame.
*/
private JInternalFrame createJInternalFrame(IView<JComponent> view) {
JInternalFrame internalFrame = new JInternalFrame(view.getDescriptor()
.getI18nName(getTranslationProvider(), getLocale()));
internalFrame.setFrameIcon(getIconFactory().getIcon(
view.getDescriptor().getIconImageURL(), IIconFactory.SMALL_ICON_SIZE));
internalFrame.setResizable(true);
internalFrame.setClosable(false);
internalFrame.setMaximizable(true);
internalFrame.setIconifiable(true);
internalFrame.getContentPane().add(view.getPeer(), BorderLayout.CENTER);
internalFrame.setDefaultCloseOperation(WindowConstants.HIDE_ON_CLOSE);
internalFrame.setGlassPane(createHermeticGlassPane());
return internalFrame;
}
代码示例来源:origin: org.jclarion/clarion-runtime
c.setGlassPane(glass);
c.putClientProperty("shadow", Boolean.TRUE);
glass.setVisible(true);
内容来源于网络,如有侵权,请联系作者删除!