A good answer might be:No. Registering just tells the Java system where to send the events. They go in one direction, only. | |
Sample Run
This program is suitable for "copy-paste-save-and-run" using Notepad. It would be a really good idea to try it, and to hack upon the program a bit. You no longer have to type control-c to kill the program; just click on the close-window button. C:\> javac GUItester.java C:\> java GUItester C:\> | |
QUESTION 6:Is the listener object an object separate from the Frame object? Click Here after you have answered the question |