Greetings:


I am doing that "self-paced 'learn Java in my free time'" thing, with a MFC / C++ background.


Given a applet, I want to launch a dialog upon some event. I have a compilable dialog class which owns all it's controls. I create a Panel and add() all TextFields and Labels to it, then add() the Panel to the dialog. After a manual resize() and newing a LayoutManager, I'm good to go. (I have example code for a "quit" button and it's handling in Dialog.action().)


The issues:


I would like to A) trap all TextField keystroke events (Event.key ) for each TextField (Event.target.) The problem seems to be that no TextField events post "messages" to the Dialog.action() so I don't get the change to do data validation.


Does the Panel get these "messages"? If not, how do I catch TextField events (without extending a class for each TextField)? Where have I missed the architurial-boat?


Mike X

[email protected]