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


Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following algorithm types classifies Huffman’s algo rithm?

a. backtracking algorithm b. divide and conquer algorithm c. dynamic programming algorithm d. greedy algorithm e. none of the above

Computer Science & Information Technology

In SharePoint, a(n) ________ list is used to inform your site users about upcoming events, news, or activities

Fill in the blank(s) with correct word

Computer Science & Information Technology

A class definition can contain four parts.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

To indicate a change in topic in a presentation, you can use a different ________ for the new topic

Fill in the blank(s) with correct word

Computer Science & Information Technology