What is a “good way” to subscribe to cost changes in a JFormattedTextField?

I want to subscribe to change values ​​on a JFormattedTextField.

Checking the source code, the only thing I see is that the property "value" is launched by the new value. But this property is mentioned only there and directly written without constant. If I agree with this property change, it works.

However, I wonder: is this the right way to do this?

+3
source share
1 answer

JavaDoc for JFormattedTextField state [:

JFormattedTextField , PropertyChangeListener PropertyChangeEvents .

,

+5

Source: https://habr.com/ru/post/1756709/


All Articles