public void iconifyFrame(JInternalFrame frame) {
public void iconifyFrame(JInternalFrame frame) { JDesktopPane p = frame.getDesktopPane(); JDesktopIcon icon = frame.getDesktopIcon(); if (p != null && p.getSelectedFrame() == frame) p.setSelectedFrame(null); else { try { frame.setSelected(false); } catch (PropertyVetoException e) { } }  Container c = frame.getParent();  if (! wasIcon(frame)) { Rectangle r = getBoundsForIconOf(frame); icon.setBounds(r); setWasIcon(frame, true); }  if (c != null) { if (icon != null) { c.add(icon); icon.setVisible(true); } c.remove(frame); }
	public void iconifyFrame(JInternalFrame frame) {		// TODO	} // iconifyFrame()