@Override
	public void minimizeFrame(JInternalFrame f) {
		//System.out.println("minimizeFrame: " + f.getTitle());
		setMaximized(false);
		super.minimizeFrame(f);
		
		// Enable Stack Menu Item
		JMenuItem item = (JMenuItem) GUITreeLoader.reg.get(GUITreeComponentRegistry.STACK_MENU_ITEM);
		item.setEnabled(true);
		
		// Restore the border
		((OutlinerDocument) f).showBorder();
		
		updateDesktopSize(false);
	}