Complete the code segment below using the following instructions: 1. display a c
ID: 3758672 • Letter: C
Question
Complete the code segment below using the following instructions:
1. display a comform dialog box that asks the user if they wan to continue.
2. store the result from the dialog box. if the result is JOptionPane's CANCEL_OPTION or NO_OPTION, show a message dialog that states the process was ended. Otherwise, do nothing.
3. use a confirm dialog that has a Yes, No, and Cancel options. If you use the method that takes 2 parameters (the parent and the message), this is the default option.
4. use null for the parent of the dialog.
public void continueRunning() {
//missing code goes here
}
Explanation / Answer
b)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.