Re: JTextArea not producing events
- From: "Michael Dunn" <m_odunn@xxxxxxxxx>
- Date: Thu, 29 Dec 2005 12:47:54 +1100
"Roedy Green" <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx> wrote in message
news:thd6r1902osvjl1n1k5sav193jjmcvmv2a@xxxxxxxxxx
> Run the little SSCCE below and you will not get any events at the
> InputMethodListener.
> Why not?
from the api docs (addInputMethodListener)
"Adds the specified input method listener to receive input method events from this component.
A component will only receive input method events from input methods if it also overrides
getInputMethodRequests to return an InputMethodRequests instance."
> How are you supposed to detect a
> change? It won't let you use an ActionListener or a TextListener.
DocumentListener
.
- References:
- JTextArea not producing events
- From: Roedy Green
- JTextArea not producing events
- Prev by Date: Overwritten Boolean in table cell
- Next by Date: Re: Overwritten Boolean in table cell
- Previous by thread: JTextArea not producing events
- Next by thread: Overwritten Boolean in table cell
- Index(es):