Exam 13: Applets and More

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

When you update the data used to draw shapes on a component, you must call the repaint method to force a call to the paint or paintComponent methods.

(True/False)
4.8/5
(37)

Applets are important because they can be used to extend the capabilities of a stand-alone Java application.

(True/False)
4.9/5
(33)

This method clears the surface of the component and then calls the paint method.

(Multiple Choice)
4.7/5
(43)

This method causes the Timer object to start generating action events.

(Multiple Choice)
4.8/5
(38)

Instead of displaying its own window, an applet appears in the browser's window.

(True/False)
4.9/5
(34)

Web pages are normally written in

(Multiple Choice)
4.8/5
(37)

A Timer object does not begin generating action events until it is started with a call to its getDelay method.

(True/False)
4.9/5
(33)

The point where two line segments are connected is called a

(Multiple Choice)
4.8/5
(32)

For all Swing components except JApplet and JFrame, you should override this method to get a reference to the component's Graphics object.

(Multiple Choice)
4.9/5
(34)

If you need to load a sound file to be played multiple times, you should use this object.

(Multiple Choice)
4.8/5
(27)

Which of the following statements would you write in an HTML document to display the text "History" as a level one header?

(Multiple Choice)
4.9/5
(36)

An application can use this object to execute code automatically at regular time intervals.

(Multiple Choice)
4.8/5
(39)

If you want to make sure that an applet is compatible with all Java-enabled browsers, use AWT components instead of Swing.

(True/False)
4.8/5
(31)

In HTML, the <h1></h1> tag marks a document's head section, whereas the <head></head> tag marks a header, which is large bold text.

(True/False)
4.9/5
(44)

These are Java programs that are usually part of a Web site.

(Multiple Choice)
4.9/5
(33)

An HTML document is usually saved with this file name extension.

(Multiple Choice)
4.9/5
(33)

HTML has sophisticated abilities such as performing math calculations and interacting with the user.

(True/False)
4.9/5
(40)

There is no static main method needed to create an instance of the applet class because the browser creates an instance of the class automatically.

(True/False)
4.8/5
(38)

To run an applet, you create an HTML document with a(n) ________ tag.

(Multiple Choice)
4.7/5
(42)

Which of the following is one way to get a reference to the Graphics object for an AWT component or a class that extends JApplet or JFrame?

(Multiple Choice)
4.7/5
(39)
Showing 21 - 40 of 40
close modal

Filters

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