protected void setLocationPrivate(int x, int y) { Dimension size = getSize(); setBoundsPrivate(x, y, size.width, size.height); }