public void beginDraggingFrame(JComponent component) {
public void beginDraggingFrame(JComponent component) { if (component instanceof JDesktopIcon) pane = ((JDesktopIcon) component).getInternalFrame().getDesktopPane(); else pane = ((JInternalFrame) component).getDesktopPane(); if (pane == null) return;  dragCache = component.getBounds();  if (! (pane instanceof JDesktopPane)) currentDragMode = JDesktopPane.LIVE_DRAG_MODE; else currentDragMode = ((JDesktopPane) pane).getDragMode();
	public void beginDraggingFrame(JComponent component) {		// TODO	} // beginDraggingFrame()