static A makeUneditable(final A tf) { if (tf != null) swing { // XXX breaking change - tf.setEnabled(false); tf.setEditable(false); } ret tf; }