public void beginResizingFrame(JComponent component, int direction) {
public void beginResizingFrame(JComponent component, int direction) { 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 beginResizingFrame(JComponent component, int direction) {		// TODO	} // beginResizingFrame()