Re: To show Dialog in Applet
Posted By:
Senavaraiyan_Dhanasekaran
Posted On:
Tuesday, May 8, 2001 05:24 AM
Since You are using the Dialog, the constructor of the Dialog class will expect the First Parameter as a Frame or a Dialog. In this program you are extending the class from applet, so the this object will refer the class A as Applet, so only you are getting the Error. If you use the Frame, you won't get the error .If u use the Frame concepts you shouldn't use the init() method.
regards
Sena