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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -