|
Will a minimal GUI program have an event listener? A good answer might be:If it is going to respond to events, yes. However, our first program will skip this. | |
Minimal GUI ProgramRecall that a useful GUI program consists of (i) a GUI interface, (ii) event listeners, and (iii) application code. Our first GUI program does not have a listener, nor any application code, and will not be a useful program. Here is the complete program:
WARNING!! Be cautious when you run this program (especially in Win95.) It does not have an event listener, and won't respond when you try to close its frame. (See the next lesson page before you run the program.) | |
QUESTION 6:Is this program an application or an applet? Click Here after you have answered the question |