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