static A moveFrameUp(final int y, A c) { final Window w = getWindow(c); if (w != null) swing { w.setLocation(w.getX(), w.getY()-y); } ret c; }