static A setFrameSize(A c, int w, int h) { JFrame f = getFrame(c); if (f != null) f.setSize(w, h); ret c; } static A setFrameSize(int w, int h, A c) { ret setFrameSize(c, w, h); }