当前位置: 代码迷 >> Java相关 >> JInternalFrame去掉标题栏后,怎么最小化
  详细解决方案

JInternalFrame去掉标题栏后,怎么最小化

热度:8775   发布时间:2013-02-25 21:48:17.0
JInternalFrame去掉标题栏后,如何最小化
我用((BasicInternalFrameUI)getUI()).setNorthPane(null)这个方法将标题栏去掉后,如何在不恢复标题栏的情况下,实现最小化操作?

------解决方案--------------------------------------------------------
Java code
public void setIcon(boolean b)             throws PropertyVetoExceptionIconifies or de-iconifies this internal frame, if the look and feel supports iconification. If the internal frame's state changes to iconified, this method fires an INTERNAL_FRAME_ICONIFIED event. If the state changes to de-iconified, an INTERNAL_FRAME_DEICONIFIED event is fired.
  相关解决方案