| YES_NO_OPTION | ใช้กำหนดว่าเป็น yes - no opton |
|---|
property:YES_NO_OPTION;
return type:int
special:static
content:ใช้คืนค่า ตัวเลข ที่เป็นค่าคงที่ ที่แทนความหมายว่า ใช้กำหนดประเภทให้กับ Confirm Dialog ว่ามี ปุ่ม yes และ no
example:JOptionPane.showConfirmDialog ( this, "Are you bamboolabcode ?", "Confirm", JOptionPane.YES_NO_OPTION );