本文整理了Java中javax.swing.JInternalFrame.getPreferredSize()
方法的一些代码示例,展示了JInternalFrame.getPreferredSize()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JInternalFrame.getPreferredSize()
方法的具体详情如下:
包路径:javax.swing.JInternalFrame
类名称:JInternalFrame
方法名:getPreferredSize
暂无
代码示例来源:origin: antlr/antlrworks
public Dimension getPreferredSize() {
if(useDesktop) {
return jInternalFrame.getPreferredSize();
} else {
return jFrame.getPreferredSize();
}
}
代码示例来源:origin: org.opentcs.thirdparty.jhotdraw/jhotdraw
screenBounds.height -= screenInsets.top + screenInsets.bottom;
Dimension preferredSize = window.getPreferredSize();
Dimension minSize = window.getMinimumSize();
代码示例来源:origin: net.java.linoleum/application
final Dimension dialogSize = dialog.getPreferredSize();
final Dimension rootSize = root.getSize();
final Dimension parentSize = parent.getSize();
代码示例来源:origin: org.jvnet.hudson/embedded-rhino-debugger
} catch (Exception exc) {
Dimension dimen = f.getPreferredSize();
w = dimen.width;
h = dimen.height;
代码示例来源:origin: com.github.tntim96/rhino
} catch (Exception exc) {
Dimension dimen = f.getPreferredSize();
w = dimen.width;
h = dimen.height;
代码示例来源:origin: com.github.houbie/rhino-mod
} catch (Exception exc) {
Dimension dimen = f.getPreferredSize();
w = dimen.width;
h = dimen.height;
代码示例来源:origin: ro.isdc.wro4j/rhino
} catch (Exception exc) {
Dimension dimen = f.getPreferredSize();
w = dimen.width;
h = dimen.height;
代码示例来源:origin: org.appdapter/org.appdapter.lib.gui
JInternalFrame f = new JInternalFrame(name, true, true, true, true);
f.getContentPane().add(component);
f.setSize(f.getPreferredSize());
if (!DisplayContextUIImpl.ALLOW_MULTIPLE_WINDOWS) {
objectWindows.add(guiFor, f);
内容来源于网络,如有侵权,请联系作者删除!