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

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -