Which JFrame constant indicates that the program should terminate when the window is closed by the user?

a. TERMINATE_ON_CLOSE.
b. IMMEDIATELY_CLOSE.
c. EXIT_ON_CLOSE.
d. All of the above.


c. EXIT_ON_CLOSE.

Computer Science & Information Technology

You might also like to view...

Which function is called when another class’s object is used where a String should be?

a) TranslateToString b) String c) ConvertToString d) ToString

Computer Science & Information Technology

You can import text from a Word ________ into a presentation

A) table B) document in column layout format C) tab-delimited file D) outline

Computer Science & Information Technology

A stream is a one-way transmission path between a source and a destination.

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

Computer Science & Information Technology

Which of the following commands will allow modification of file C:\BOOT.INI?

A. attrib -s +h +r C:\BOOT.INI B. attrib +s -h +r C:\BOOT.INI C. attrib +s +h +r C:\BOOT.INI D. attrib -s -h -r C:\BOOT.INI

Computer Science & Information Technology