x
Info
x
Warning
x
Danger
 / 
 / 
 / 
Chapter 7- True/False    Graphical shapes automatically displayed when using Swing?      A

Question : Chapter 7- True/False    Graphical shapes automatically displayed when using Swing?      A : 2043811

Chapter 7-

True/False

  1.    Graphical shapes are automatically displayed when using Swing?

 

  1.    An Ellipse2D instance is an example of a Graphics object.

  1.    Graphics2D objects know how to draw themselves.

  1.    Invoking the repaint method with no parameters causes the entire panel to be redrawn.
  2.    A listener for a Timer implements the TimerListener interface.

  1.    The purpose of a Listener class object is to receive an event and then to tell some other object or objects to respond to that event.

 

  1.    To create an animation, write code to make our graphical shapes respond to an instance of the javax.swing.Timer class or to instances of its subclass.

 

  1.    The method which must be implemented to implement the ActionListener interface is performAction.

 

  1.    The interval for the Timer instance is specified as a parameter in the method start defined in the javax.swing.Timer class.

  1. In a statement such as: private final int INIT_X = 75; the keyword final makes INIT_X a constant.

 

Solution
5 (1 Ratings )

Solved
Computer Science 1 Year Ago 231 Views
This Question has Been Answered!
Unlimited Access Free
Explore More than 2 Million+
  • Textbook Solutions
  • Flashcards
  • Homework Answers
  • Documents
Signup for Instant Access!
Ask an Expert
Our Experts can answer your tough homework and study questions
154368 Computer Science Questions Answered!
Post a Question