static A makeUneditable(final A tf) { if (tf != null) swing { tf.setEnabled(false); } ret tf; }