Does anybody know how to create a pop-up window that would, forexample, create a pop-up window when a java button is clicked?Thanks,
try thisJOptionPane.showMessageDialog(this, "Hello World!")orJOptionPane.showMessageDialog(null, "Hello World!")
create the window that you say, for example one that contains amessage named MyMessage.inside your main applet class,public void foo(){MyMessage mm = new MyMessage();}