java - Can I trigger a dialogue box from an applet? -
i'm new java... i'm creating applet project , wonder if applet can launch warning or dialogue box. if so, instruction or method?
frame getmyparent() { container parent = getparent(); while (!(parent instanceof frame)) { parent = ((component)parent).getparent(); } return (frame)parent; } public optionsdialog(mainapplet applet, boolean modal) { super(null, "options", modal);
this create dialogue box. add other features , refer here more information on frames.
Comments
Post a Comment