I have written the following program to create a stand alone window. I am extending frame class & creating an instance of it inside main. A window appears, however, it shows "Applet not initialised" in status bar, it goes without saying that none of the events that I have taken care of in the program, are working
My apologies for not having followed conventions but this was merely written to test my own understanding.
I ran the code using appletviewer & as I have mentioned before, the applet remains uninitialised & so the event handling code remains untouched. When you mention running, do you mean that mouse events are being handled etc or just the window appearing ?