Computers and Technology

Which of the following statements is used to terminate the program when closing the frame?

A. frame. setDefaultCloseOperation(null);
B. frame. setDefaultCloseOperation(JFrame. STOP_ON_CLOSE);
C. frame. setDefaultCloseOperation(JFrame. TERMINATE_ON_CLOSE);
D. frame. setDefaultCloseOperation(JFrame. EXIT_ON_CLOSE);

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:00, Disd112984
Which statement is true of web-based social media? a. they allow consumers to interact with and update content. b. they cannot be updated easily, as compared to print media. c. they are expensive to produce and maintain, as compared to print and television. d. they can exist independent of the internet.
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, evanwall91
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
image
Computers and Technology, 24.06.2019 04:30, minecrafter3882
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe what
Answers: 1
image
Computers and Technology, 24.06.2019 16:50, yedida
Ideally, the backrest is tilted back slightly, so when you turn the wheel your shoulders are the seat.
Answers: 2
Do you know the correct answer?
Which of the following statements is used to terminate the program when closing the frame?

Questions in other subjects: