Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java confirmation dialog

int dialogResult = JOptionPane.showConfirmDialog(frame, "Text", "Title", JOptionPane.YES_NO_OPTION);
if(dialogResult == JOptionPane.YES_OPTION){
  	// Do something
}	
 
PREVIOUS NEXT
Tagged: #java #confirmation #dialog
ADD COMMENT
Topic
Name
9+6 =