I would like to know when JTextPane
content is changed. I implemented a keyboard listener, but it is only detecting keyboard events. If the user pastes text via mouse or drag the text inside, then I am not enable to detect the JTextPane
value is changed. Which event listener can tell me that the JTextPane
value is changed?
you have to look for DocumentListener
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With