JOptionPane.showOptionDialog(null, "Ma fenetre à 3 bouttons", "Voila", JOptionPane.INFORMATION_MESSAGE, JOptionPane.WARNING_MESSAGE, null, new String[]{ "Boutton 1", "Boutton 2", "Boutton 3" }, "Boutton1");