OpenStax CNX

Sections
You are here: Home » Content » Java OOP: Background Color, Text Color, Mouse Clicks, etc.

About: Java OOP: Background Color, Text Color, Mouse Clicks, etc.

Module by: R.G. (Dick) Baldwin. E-mail the author

View the content: Java OOP: Background Color, Text Color, Mouse Clicks, etc.

Metadata

Name: Java OOP: Background Color, Text Color, Mouse Clicks, etc.
ID: m44351
Language: English (en)
Summary: Learn how to modify the SimplePicture class to control the color of the text that is placed on the image in a Picture object. Place a turtle object in a world and cause it to draw a square spiral.
Subject: Science and Technology
Keywords: abstract class, abstract method, assignment compability, behavior, casting, class, class method, class variable, constructor, encapsulation, extends, final, implements, inheritance, inner class, instance, instance method, instance variable, instantiate, interface, Java, method, method overloading, method overriding, object, object-oriented programming, OOP, polymorphism, primitive type, public, reference, reference type, signature, state, static initializer block, subclass, superclass, toString method, variable, void
License: Creative Commons Attribution License CC-BY 3.0

Authors: R.G. (Dick) Baldwin (Baldwin@DickBaldwin.com)
Copyright Holders: R.G. (Dick) Baldwin (Baldwin@DickBaldwin.com)
Maintainers: R.G. (Dick) Baldwin (Baldwin@DickBaldwin.com)

Latest version: 1.1 (history)
First publication date: Aug 20, 2012 8:56 am -0500
Last revision to module: Aug 20, 2012 8:59 am -0500

Downloads

PDF: m44351_1.1.pdf PDF file, for viewing content offline and printing. Learn more.
EPUB: m44351_1.1.epub Electronic publication file, for viewing in handheld devices. Learn more.
XML: m44351_1.1.cnxml XML that defines the structure and contents of the module, minus any included media files. Can be reimported in the editing interface. Learn more.
Source Export ZIP: m44351_1.1.zip ZIP containing the module XML plus any included media files. Can be reimported in the editing interface. Learn more.
Offline ZIP: m44351_1.1_offline.zip An offline HTML copy of the content. Also includes XML, included media files, and other support files. Learn more.

Version History

Version: 1.1 Aug 20, 2012 8:59 am -0500 by R.G. (Dick) Baldwin
Changes:
Created module

How to Reuse and Attribute This Content

If you derive a copy of this content using a OpenStax_CNX account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 3.0), you must include

  • the authors' names: Richard Baldwin
  • the title of the work: Java OOP: Background Color, Text Color, Mouse Clicks, etc.
  • the OpenStax_CNX URL where the work can be found: http://cnx.org/content/m44351/1.1/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 3.0) of this work:

American Chemical Society (ACS) Style Guide:

Baldwin, R. Java OOP: Background Color, Text Color, Mouse Clicks, etc., OpenStax_CNX Web site. http://cnx.org/content/m44351/1.1/, Aug 20, 2012.

American Medical Assocation (AMA) Manual of Style:

Baldwin R. Java OOP: Background Color, Text Color, Mouse Clicks, etc. [OpenStax_CNX Web site]. August 20, 2012. Available at: http://cnx.org/content/m44351/1.1/.

American Psychological Assocation (APA) Publication Manual:

Baldwin, R. (2012, August 20). Java OOP: Background Color, Text Color, Mouse Clicks, etc. Retrieved from the OpenStax_CNX Web site: http://cnx.org/content/m44351/1.1/

Chicago Manual of Style (Bibliography):

Baldwin, Richard. "Java OOP: Background Color, Text Color, Mouse Clicks, etc." OpenStax_CNX. August 20, 2012. http://cnx.org/content/m44351/1.1/.

Chicago Manual of Style (Note):

Richard Baldwin, "Java OOP: Background Color, Text Color, Mouse Clicks, etc.," OpenStax_CNX, August 20, 2012, http://cnx.org/content/m44351/1.1/.

Chicago Manual of Style (Reference, in Author-Date style):

Baldwin, R. 2012. Java OOP: Background Color, Text Color, Mouse Clicks, etc. OpenStax_CNX, August 20, 2012. http://cnx.org/content/m44351/1.1/.

Modern Languages Association (MLA) Style Manual:

Baldwin, Richard. Java OOP: Background Color, Text Color, Mouse Clicks, etc.. OpenStax_CNX. 20 Aug. 2012 <http://cnx.org/content/m44351/1.1/>.