Zdravím
asi jsem našel BUG v JVM. Mohl by prosím kdokoliv testnout tento kód, jestli mu to pojede korektně (zobrazí se JDialog i s obsahem, číslem) ne jen rámeček. Díky
public static void main(String[] agrs) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
final JFrame f = new JFrame("Jednoduche okno");
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setSize(200, 200);
f.setVisible(true);
for (int i=0; i<10; ++i) JOptionPane.showMessageDialog(f, "" + i, ":-(", JOptionPane.INFORMATION_MESSAGE);
System.exit(0);
}
});
}