static A setBorderPainted(bool b, A a) { if (a != null) swing { a.setBorderPainted(b); } ret a; }