swing – How to detect when user finished typing in jTextpane in Java

swing – How to detect when user finished typing in jTextpane in Java

Consider setting the JTextPanes inputVerifier to an instance of your own subclass of InputVerifier. This has the advantage that you can set some controls (such as a Cancel button) to refrain from triggering it, using setVerifyInputWhenFocusTarget.

swing – How to detect when user finished typing in jTextpane in Java

Leave a Reply

Your email address will not be published. Required fields are marked *