java中JInternalFrame位置设置
JInternalFrame怎么设计在JTesktopPane中设置位置??
思考良久,同进查过一些资料,很少对JTesktopPane 及JInternalFrame介绍,万般无奈之下,到这里发表贴子,请大家帮帮我,非常感谢!!!!
----------------解决方案--------------------------------------------------------
你可以试一下:
setBounds
public void setBounds(int x, int y, int width, int height)
- 移动组件并调整其大小。由
x
和y
指定左上角的新位置,由width
和height
指定新的大小。
----------------解决方案--------------------------------------------------------
回复:(Eastsun)你可以试一下:setBoundspublic vo...
谢谢!!!
----------------解决方案--------------------------------------------------------