static int moveToBottomRightCorner_insetX = 10; static int moveToBottomRightCorner_insetY = 10; static A moveToBottomRightCorner(A c) { ret moveToBottomRightCorner(c, moveToBottomRightCorner_insetX, moveToBottomRightCorner_insetY); } static A moveToBottomRightCorner(A c, final int insetX, final int insetY) { final Window w = getWindow(c); if (w != null) swing { Rectangle r = maxWindowBounds(); w.setLocation(r.x+r.width-w.getWidth()-insetX, r.y+r.height-w.getHeight()-insetY); } ret c; }