Multiple Choice
You can call a JFrame 's setDefaultCloseOperation() method and use ____ as an argument to keep the JFrame visible and continue running the program.
A) JFrame.EXIT_ON_CLOSE
B) WindowConstants.DISPOSE_ON_CLOSE
C) WindowConstants.DO_NOTHING_ON_CLOSE
D) WindowConstants.HIDE_ON_CLOSE
Correct Answer:

Verified
Correct Answer:
Verified
Q42: An object that is interested in an
Q43: Match each term with the correct statement
Q44: A method that executes because it is
Q45: Write the statement to create a JButton
Q46: The _ layout manager places components in
Q48: When setting a JFrame 's size, part
Q49: Match each term with the correct statement
Q50: The JButton , JCheckBox , JComboBox ,
Q51: import javax.swing.*; <br>public class JFrame1 <br>{ <br>
Q52: What are the tasks you must perform