static Point mouseToComponent(Component c) { Point d = mouseLocation(); SwingUtilities.convertPointFromScreen(d, c); ret d; }