javax.swing.JInternalFrame.getPreferredSize()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(133)

本文整理了Java中javax.swing.JInternalFrame.getPreferredSize()方法的一些代码示例,展示了JInternalFrame.getPreferredSize()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JInternalFrame.getPreferredSize()方法的具体详情如下:
包路径:javax.swing.JInternalFrame
类名称:JInternalFrame
方法名:getPreferredSize

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);

相关文章

JInternalFrame类方法