Java contains a class named ____ that allows you to produce dialog boxes.

A. JBox
B. JOptionPane
C. JDialog
D. JGUI


Answer: B

Computer Science & Information Technology

You might also like to view...

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

1. In a C# application, all buttons on a form must share the same Click event handler in form’s source code file. 2. At run time, you should not use the Designer, Toolbox, Properties window, or code editor to modify the program. 3. The terms run time, run time, and run-time all typically mean the same thing. 4. Once you have placed a Label control on a form, set its Text property to the string you want to display.

Computer Science & Information Technology

A client sends a 200 byte request message to a service, which produces a response containing 5000 bytes. Estimate the total time to complete the request in each of the following cases, with the performance assumptions listed below: i) Using connectionless (datagram) communication (for example, UDP); ii) Using connection-oriented communication (for example, TCP); iii) The server process is in the same machine as the client. [Latency per packet (local or remote, incurred on both send and receive):5 milliseconds Connection setup time (TCP only):5 milliseconds Data transfer rate:10 megabits per second MTU:1000 bytes Server request processing time:2 milliseconds Assume that the network is lightly loaded.]

What will be an ideal response?

Computer Science & Information Technology

A ________ is a mutual exclusion mechanism in which a process executes in an infinite loop waiting for the value of a lock variable to indicate availability.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

DNS is a distributed and ____ database that allows controlling DNS management locally.

A. authoritative B. submissive C. linear D. hierarchical

Computer Science & Information Technology