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

1. Some of the common GUI components are buttons, labels, text fields, check boxes, and radio buttons.
2. A GUI program automatically stops executing when the end of the main method is reached.
3. A common technique for writing an event listener class is to write it as a private inner class inside the class that creates the GUI.
4. The following statement adds the FlowLayout manager to the container, centers the components, and separates the components with a gap of 10 pixels.


1. TRUE
2. FALSE
3. TRUE
4. FALSE

Computer Science & Information Technology

You might also like to view...

Commercial encryption systems are constantly being researched by cryptologists to ensure that the systems are not vulnerable to a_______ attack.

a) hacker. b) cipher. c) cryptanalytic. d) None of the above.

Computer Science & Information Technology

indent -bad -kr -st myProg.c > myProg.c

What will be an ideal response?

Computer Science & Information Technology

The purpose of the executive is ________.

a) to interact directly with the hardware and abstract the details of hardware from other kernel-mode components b) to provide basic system components, such as thread scheduling, interrupt dispatching and exception handling c) to administer the main operating system subsystems, such as the file system, I/O subsystem and system memory d) to provide a particular computing environment (such as a Windows or POSIX computing environment) for user-mode threads

Computer Science & Information Technology

Which of the following about nested IIf functions is FALSE?

A) When having one IIf function nested inside another, the second IIf function becomes the falsepart of the first IIf function. B) You can create a nested IIf function, allowing you to evaluate a series of dependent expressions. C) When having one IIf function nested inside another, the second IIf function becomes the truepart of the first IIf function. D) A nested IIf function is used when you need to test for multiple conditions.

Computer Science & Information Technology