Exam 12: Advanced Guis and Graphics

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

The class JComponent is part of the package javax.swing.

(True/False)
4.9/5
(36)

JRadioButtons are useful when you want to give the user the ability to select more than one of the presented options.

(True/False)
4.9/5
(37)

JTextAreas can be used to display multiple lines of text.

(True/False)
4.8/5
(45)

An applet invokes the methods start, init, stop, paint, and destroy in sequence.

(True/False)
4.9/5
(41)

The graphic in the accompanying figure is an example of ____.

(Multiple Choice)
4.7/5
(37)

Which applet method is called by the Web browser to display the applet to the screen?

(Multiple Choice)
4.9/5
(40)

Applets do not have titles.

(True/False)
4.9/5
(40)

You can create instances of Color by mixing red, green, and blue hues in various proportions.

(True/False)
4.9/5
(37)

Given Graphics object g, what method call is used to draw a line from X = 10, Y = 20 to X = 80, Y = 40?

(Multiple Choice)
5.0/5
(35)

Which of the following methods does the class JTextArea inherit from the class JTextComponent?

(Multiple Choice)
4.8/5
(43)

How many inches is 12-point font?

(Multiple Choice)
4.8/5
(28)

A JComboBox generates an ItemEvent.

(True/False)
4.8/5
(37)

The paint method is used to get data from the user.

(True/False)
4.8/5
(34)

To draw a rectangle filled with the current color, you can use the method ____.

(Multiple Choice)
4.7/5
(37)

What class must be extended when you create an applet?

(Multiple Choice)
4.7/5
(30)

You can close an applet by closing the HTML document in which the applet is embedded.

(True/False)
4.8/5
(37)

Applets are embedded in ____ documents.

(Multiple Choice)
4.7/5
(33)

The class Graphics is an abstract class.

(True/False)
4.9/5
(48)

Does an applet compile like any other Java application program?

(Multiple Choice)
4.9/5
(37)

JCheckBox is a subclass of the abstract class ToggleButton.

(True/False)
4.9/5
(34)
Showing 21 - 40 of 48
close modal

Filters

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