static int internalFrameY(Component c) { JInternalFrame f = getInternalFrame(c); if (f != null) ret f.getY(); else ret 0; }