static A packFrameInTopRightCorner(A c) { JFrame f = getFrame(c); if (f != null) { packFrame(f); moveToTopRightCorner(f); } ret c; }