The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by wuxubin]

I found a another new question, listing 5-1 , button seems not to work, and
also document event handling.
May I miss some points?

Thanks
Xubin
import-bot (20211) [Avatar] Offline
#2
Re: another question about listing 5-1
[Originally posted by matt]

The button in this example is not intended to do anything.
If you look at the code you see that their is no ActionListener
(or any other type of listener) attached.

The purpose of the button in this example is to show how to
use a DocumentLister. If a non-numeric string is entered
in one of the text fields, the button will be disabled.
Otherwise it will be enabled.