Exam 12: Gui Components: Part 1

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

Which of the following statements for a JTextField is false?

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

D

Which of the following objects cannot trap mouse events?

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

B

Some common lightweight component features supported by JComponent include:

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

D

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

(Multiple Choice)
4.7/5
(31)

Which method determines if a JCheckBox is selected?

(Multiple Choice)
4.9/5
(37)

Together,the appearance and the way in which the user interacts with the application are known as that application's ________.

(Multiple Choice)
4.8/5
(41)

How many event-listener interfaces correspond to each event type?

(Multiple Choice)
4.8/5
(22)

Which of the following does not generate GUI events?

(Multiple Choice)
4.9/5
(37)

Each container can have ________.

(Multiple Choice)
4.9/5
(37)

Which of the following statements about JPanels is false?

(Multiple Choice)
4.8/5
(36)

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

(Multiple Choice)
4.8/5
(36)

Which of the following is the method used to display a dialog box to gather input?

(Multiple Choice)
4.8/5
(31)

The BorderLayout layout manager:

(Multiple Choice)
5.0/5
(37)

Which of the following is a MouseMotionListener method?

(Multiple Choice)
4.9/5
(35)

Which region is used by default when a Component is added to a BorderLayout?

(Multiple Choice)
4.9/5
(29)

When a component is ,paintComponent clears the component's background before the component is displayed.

(Multiple Choice)
4.8/5
(34)

Which of the following most completely describes the steps for setting up event handling for a GUI component?

(Multiple Choice)
4.9/5
(29)

Which of the following expressions creates a JLabel that displays the text "Here is what I look like!" The JLabel should display Icon object face,and the JLabel's contents should be left aligned.

(Multiple Choice)
4.8/5
(41)

Which of the following statements about adapters is false?

(Multiple Choice)
4.9/5
(38)

Method getSelectedIndex of class JComboBox returns:

(Multiple Choice)
4.7/5
(37)
Showing 1 - 20 of 70
close modal

Filters

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