@Override public void reshape(int x, int y, int width, int height) { if (((Frame) target).isUndecorated()) { super.reshape(x, y, width, height); } else { reshapeFrame(x, y, width, height); } }