Exam 12: Gui Components

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following statements for a JTextField is false?

Free
(Multiple Choice)
4.7/5
(46)
Correct Answer:
Verified

D

When the user presses Enter in a JPasswordField, the GUI component generates an , which is processed by an object that implements the interface .

Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
Verified

A

Which of the following is a MouseMotionListener method?

Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
Verified

C

When components are added to a container with a GridLayout, the component ________.

(Multiple Choice)
4.9/5
(36)

The Shift key is a(n) key.

(Multiple Choice)
4.9/5
(35)

Which component contains menus?

(Multiple Choice)
4.8/5
(37)

FlowLayout method changes the alignment for the FlowLayout.

(Multiple Choice)
4.9/5
(36)

The BorderLayout layout manager:

(Multiple Choice)
4.8/5
(49)

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

(Multiple Choice)
4.8/5
(34)

When the user clicks a JCheckBox, a(n) occurs.

(Multiple Choice)
4.9/5
(35)

A JScrollPane is provided automatically for which of the following?

(Multiple Choice)
4.8/5
(45)

Every JComponent has an instance variable called that enables the object to maintain references to all its registered listeners.

(Multiple Choice)
4.8/5
(32)

Which methods can be used to change the scrollbar policies?

(Multiple Choice)
4.8/5
(32)

Which method sets the text that's displayed when the user hovers over a JLabel?

(Multiple Choice)
4.8/5
(37)

Method getSelectedValues of class JList returns:

(Multiple Choice)
4.9/5
(32)

Adding a ButtonGroup object to a container ________.

(Multiple Choice)
4.7/5
(28)

Which of the following is not a KeyListener method?

(Multiple Choice)
5.0/5
(40)

By default JScrollPane ________.

(Multiple Choice)
4.9/5
(37)

A JLabel can be attached to a JFrame using method ________.

(Multiple Choice)
4.8/5
(37)

Consider the list below: January February March April May June July August September October November December What type of JList selection mode would allow the user to select March, June and July in one step?

(Multiple Choice)
4.9/5
(41)
Showing 1 - 20 of 78
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)