I'm trying to write a program to open up several different JOptionPanes with different messages in each of them.
I have searched, but couldn't find how to do it.
It was fairly simple to have the windows open in order, but I couldn't have them pop up at the same time, appearing to the user together.
This is what I have right now:
import java.util.*;
import javax.swing.*;
public class HelloTest
{
public static void main(String[] args)
{
JOptionPane.showMessageDialog(null, "Window1");
JOptionPane.showMessageDialog(null, "Window2");
}
}
Help would be appreciated! Thanks!