Supossing that a JFormattedTextField is enabled and contains a formatter, is there a way to make it readonly? With a JTextField, we just need to suply a custom
Can't you disable editing by setting isEditable to false?
textfield.setEditable(false);