Exam 19: Graphical User Interfaces

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

Which component can generate action events? I JMenuBar II JMenu III JMenuItem

(Multiple Choice)
4.8/5
(43)

Which of the following classes has a Boolean state that can be set or unset through the GUI?

(Multiple Choice)
4.7/5
(33)

What is the default layout manager of JPanel?

(Multiple Choice)
4.9/5
(46)

The event that is generated by a slider when its value changes is of type _____.

(Multiple Choice)
4.8/5
(44)

Which method can a program use to set the selected choice in a JComboBox?

(Multiple Choice)
4.8/5
(33)

A ____ is a combination of a list and a text field.

(Multiple Choice)
4.9/5
(31)

By default, a JPanel uses a _______ layout.

(Multiple Choice)
4.9/5
(37)

If a JPanel with a BorderLayout manager contains a single component that was added to the CENTER, which parts of the JPanel does the component fill? I North II South III Center IV West V East

(Multiple Choice)
4.8/5
(33)

What type of object can be added into a JComboBox by the addItem method?

(Multiple Choice)
4.8/5
(27)

Which layout manager uses a grid so that each component will always be placed into an area of the same size? I GridBagLayout II BorderLayout III GridLayout

(Multiple Choice)
4.9/5
(41)

Which layout manager places objects left-to-right, row by row into a fixed set of rows and columns?

(Multiple Choice)
4.8/5
(34)

What is the default layout manager of the content pane of a JFrame?

(Multiple Choice)
4.9/5
(39)

Insert the missing code in the following segment. The code intends to get the newly selected item from the combo box. JComboBox facenameCombo = new JComboBox(); String selectedString = __________________________;

(Multiple Choice)
4.9/5
(32)

Which of the following methods returns the object that was selected in the JComboBox?

(Multiple Choice)
4.9/5
(42)

When the user selects a menu item, the menu item sends a(n) ___________________.

(Multiple Choice)
4.8/5
(35)

Based on the statement below, which of the following adds a title to the border? JPanel panel = new JPanel();

(Multiple Choice)
4.9/5
(41)

Which layout manager places objects left-to-right, and creates a new row only if when the current row cannot accommodate another object?

(Multiple Choice)
4.8/5
(34)

What is the best way to discover the set of Swing components?

(Multiple Choice)
4.9/5
(44)

What is the best first step in picking the layout managers for a set of nested panels?

(Multiple Choice)
4.9/5
(36)

A complex GUI can be created with a set of nested panels. What should determine the components that go into a single panel?

(Multiple Choice)
4.9/5
(38)
Showing 41 - 60 of 76
close modal

Filters

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