I have a class that extends JOptionPane. In it there's a method that calls showConfirmDialog (new JFrame(), (JScrollPane) jp, "Friends List", 2, 0, icon);
Is there a way to change the icon without having to call showConfirmDialog a second time? That is, based on my input in the JOptionPane, can I change the icon without making a new confirm dialog?
