static JButton enableButton(final JButton b) { if (b != null) swing { b.setEnabled(true); } ret b; }