JFormattedTextField destroys DocumentFilter
问题 I have a Problem with the JFormattedTextField (I use it as a base class for all of our text fields). Today I tried to add a document filter to the document of this field which works just fine, but only as long it doesnt have a formatter factory set. The Problem is, when the formatter factory is set (in my case the default classes) and processFocusEvent is called following happens (JFormattedTextField.java:595): // if there is a composed text, process it first if ((ic != null) &&