Exam 30: Swing Gui Components

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

A JFrame supports three operations when the user closes the window. Which of the choices below is not one of the three:

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

C

JSliders generate what type of event?

Free
(Multiple Choice)
5.0/5
(43)
Correct Answer:
Verified

B

Mnemonics can be used with all subclasses of which class?

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

A

Which of the following is not a class UIManager method?

(Multiple Choice)
4.8/5
(39)

Which method returns true if the popup trigger event occurred?

(Multiple Choice)
4.8/5
(29)

The GridBagContraints constant RELATIVE means that ________.

(Multiple Choice)
4.7/5
(33)

Which constructor below creates a JInternalFrame that is resizable, closable, maximizable, and minimizable?

(Multiple Choice)
4.8/5
(31)

A JSlider cannot display which of the following:

(Multiple Choice)
4.8/5
(27)

Which of the following is not a Java AWT portability issue?

(Multiple Choice)
4.9/5
(32)

To create a fixed space between all components using BoxLayout, use the method ________.

(Multiple Choice)
4.8/5
(31)

Which statement below is false?

(Multiple Choice)
5.0/5
(41)

Which of the following is false?

(Multiple Choice)
4.9/5
(24)

Which of the following is not one of the seven methods for handling window events?

(Multiple Choice)
4.8/5
(25)

What happens if setSize is not called on a window?

(Multiple Choice)
4.8/5
(40)

Arrow keys can manipulate a JSlider object. Which of the following statements does not correctly describe how the arrow keys are used?

(Multiple Choice)
4.8/5
(37)

To evenly distribute fixed-size components in a row using BoxLayout, use the method ________.

(Multiple Choice)
4.8/5
(33)

In a multiple-document interface (MDI), a JDesktopPane is the parent window and what class is the child window?

(Multiple Choice)
4.8/5
(31)

What GridBagConstraints constants can be used in place of gridx and gridy?

(Multiple Choice)
4.9/5
(31)

Which of the choices below do not complete the following sentence correctly? A _________ is a ___________.

(Multiple Choice)
4.8/5
(37)

The first argument to method showMessageDialog specifies ________.

(Multiple Choice)
5.0/5
(28)
Showing 1 - 20 of 26
close modal

Filters

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