POLITECHNIKA RZESZOWSKA • Wydzal EWctroMchnita i InfomMyW
<i> *—„—™ |
//default title and ieon JOptionPane■■howMeaaagaDialog(frame, "Egga aren't |
auppoaed to be green.", JOptionPane. INFORMATICW_MESSAGE) ; | |
//cuatom title, warning icon JOptionPane.ahowMessageDialog(frame, "Egga aren't auppoaed to be green.”, "Inane warning”, JOptionPane. WARHIHS_MESSAQE) ; | |
"• J— s |
auppoaed to be green.", "Inane error", JOptionPane .ERROR MESSAGE) ; |
//cuatom title, no icon JOptionPane.ahowMessageDialog(framę, "Egga aren't auppoaed to be green.", "A plain meaaage", JOptionPane. PLAIH_MESSAGE) ; | |
........... ■■! |
//cuatom title, cuatom icon |
fi] |
auppoaed to be green.", "Inane cuatom dialog", JOptionPane. IHFOHMATICW MES SAGĘ, icon); — |
1/ Copyright f 2012 ton PROKOP 49/HO