static A setBounds(final int x, final int y, final int w, final int h, final A a) { if (a != null) swing { a.setBounds(x, y, w, h); } ret a; } static A setBounds(A a, Rect r) { if (a != null && r != null) swing { a.setBounds(toRectangle(r)); } ret a; } static A setBounds(A a, Rectangle r) { if (a != null && r != null) swing { a.setBounds(r); } ret a; } static A setBounds(Rect r, A a) { ret setBounds(a, r); } static A setBounds(A a, int x, int y, int w, int h) { ret setBounds(x, y, w, h, a); }