static JFrame enlargeFrameLeftAndBottom(Component c, int x, int y) { Frame f = getAWTFrame(c); if (f == null) ret f; Rectangle r = getBounds(f); setBounds(f, r.x-x, r.y, r.width+x, r.height+y); ret f; }