static A showWindow(A w) { if (w != null) swing { w.setVisible(true); } ret w; }