本文整理了Java中java.applet.Applet.getSize()
方法的一些代码示例,展示了Applet.getSize()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Applet.getSize()
方法的具体详情如下:
包路径:java.applet.Applet
类名称:Applet
方法名:getSize
暂无
代码示例来源:origin: org.scijava/j3dutils
@Override
public void appletResize(int width, int height) {
// Change the frame's size by the same amount that the applet's
// size is changing.
Dimension frameSize = getSize();
frameSize.width += width - appletSize.width;
frameSize.height += height - appletSize.height;
setSize( frameSize );
appletSize = applet.getSize();
}
代码示例来源:origin: org.scijava/j3dutils
@Override
public void appletResize( int width, int height ) {
// Change the frame's size by the same amount that the applet's
// size is changing.
Dimension frameSize = getSize();
frameSize.width += width - appletSize.width;
frameSize.height += height - appletSize.height;
setSize( frameSize );
appletSize = applet.getSize();
}
代码示例来源:origin: IanDarwin/javasrc
Dimension d = ai.getSize();
d.height += aa.getSize().height;
f.setSize(d);
代码示例来源:origin: org.scijava/j3dutils
appletSize = applet.getSize();
applet.setSize( width, height );
setVisible(true);
代码示例来源:origin: org.scijava/j3dutils
appletSize = applet.getSize();
applet.setSize( width, height );
setVisible(true);
内容来源于网络,如有侵权,请联系作者删除!