如果一个frame最下化了,能够通过程序让其自动回复原样。

bhr 2002-11-18 04:05:19
只用java是不是不太可能实现?
...全文
67 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
bhr 2002-11-20
  • 打赏
  • 举报
回复
Thanks!
sikuan 2002-11-19
  • 打赏
  • 举报
回复
GZ,借宝地学习
Iforgot 2002-11-19
  • 打赏
  • 举报
回复
请使用如下函数:since 1.4之前是public void setState(int state)
java.awt.Frame
public void setExtendedState(int state)

可选参数(位掩码模式)Frame下定义的
NORMAL (通常)
ICONIFIED (你说的最小化)
MAXIMIZED_HORIZ (水平最大化)
MAXIMIZED_VERT (垂直最大化)
MAXIMIZED_BOTH (最大化)
Iforgot 2002-11-19
  • 打赏
  • 举报
回复
我回去试试看看.
bhr 2002-11-19
  • 打赏
  • 举报
回复
试过了,还有toFront()都不起作用。
wes109 2002-11-18
  • 打赏
  • 举报
回复
.show();
mercury1231 2002-11-18
  • 打赏
  • 举报
回复
you mean when minimizing the window, the window will automatically return to the previous status?

Then you can write some codes to maintain the original status, to make it look well, you can also add some control method like a timer or some other actions.
netwebs 2002-11-18
  • 打赏
  • 举报
回复
hehe~~~就是最小化了

GZ
Arbinsun 2002-11-18
  • 打赏
  • 举报
回复
最下化了?
什么意思?

62,615

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧