Exam 11: Advanced User Interfaces

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

Examine the code below. What type of class is MyMenuListener? Public JMenuItem makeMenuItem(String menuLabel) { JMenuItem mini = new JMenuItem(menuLabel); Class MyMenuListener implements ActionListener { Public void actionPerformed(ActionEvent

(Multiple Choice)
4.8/5
(44)

Which of the following classes have a user-editable area?

(Multiple Choice)
4.8/5
(39)

Which layout manger would be best suited to create a simple navigation GUI with directional arrows for left, right, up, down and enter?

(Multiple Choice)
4.9/5
(30)

The JFrame has a content pane with a default BorderLayout manager. Which method allows changing it to a FlowLayout manager?

(Multiple Choice)
4.9/5
(32)

Suppose a JPanel with a BorderLayout manager contains two components: component1, which was added to the NORTH, and component2, which was added to the SOUTH. Which parts of the JPanel will appear? I North II South III Center IV West V East

(Multiple Choice)
4.9/5
(41)

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
(41)

Which layout manager allows you to add components in different orders, with the result being the same GUI appearance? I FlowLayout II BorderLayout III GridLayout

(Multiple Choice)
4.9/5
(33)

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

(Multiple Choice)
4.7/5
(43)

Which layout manager uses a grid, but allows selected grid locations to span multiple rows or columns? I GridBagLayout II BorderLayout III GridLayout

(Multiple Choice)
4.8/5
(45)

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

(Multiple Choice)
4.9/5
(31)

When a menu item is selected, what type of event does it send?

(Multiple Choice)
4.9/5
(35)
Showing 81 - 91 of 91
close modal

Filters

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