I am trying to use dialogbox in an
applet but the
constructor of a dialog class only accept a frame object as its first parameter,not an applet!Here is how does its constructor look like:
Dialog(Frame) //Constructs an initially invisible Dialog with an empty title.
Dialog(Frame, boolean) //Constructs an initially invisible Dialog with an empty title.
Dialog(Frame,
String) //Constructs an initially invisible Dialog with a title.
Dialog(Frame, String, boolean) //Constructs an initially invisible Dialog with a title.
can anyone please tell me how can I construct a dialog box in an applet?
Thanks in advance
Ji Yan