<< Chapter < Page
  Fun with java   Page 1 / 1
Chapter >> Page >
Baldwin explains the behavior of the run method of the animation thread as well as the makeSprite method of the controlling class. He provides a preview of the SpriteManager class and the Sprite class. He discusses the repaint, update, and paint methods of the Component class, and discusses the timer loop used in this program. He also suggests an alternative approach that makes use of a Timer object to fire Action events. Finally, he recaps the previous three lessons in the series.

Table of contents

Preface

Over the years, I have published a large number of tutorials in the areas of computer programming and digital signal processing (DSP). As I have time available, I am converting the more significant of those tutorials into cnxml code and re-publishing them at cnx.org .

In the meantime, this is one of the pages in a book titled Fun with Java that presents PDF versions of the original tutorials to make them readily available for Connexions users. When I have time available, I plan to update this tutorial and to re-publish itas a standard page at cnx.org .

This tutorial may contain internal links to other tutorials that I have written and published somewhere on the web. Those links may, or may not still begood. In any event, if you search cnx.org for the tutorial by title or by topic, you will probably find a clean copy of thereferenced tutorial at cnx.org . If not, you can probably use a Google Advanced Search to find a copy somewhere on the web.

Click here to download and view the PDF version of this page.

The representation of program code in PDF documents is often very unreliable. Click here to download a zip file containing a clean copy of the program code discussed in this tutorial.

Miscellaneous

This section contains a variety of miscellaneous information.

Housekeeping material
  • Module name: Java1456 Sprite Animation, Part 4
  • File: Java1456.cnx.htm
  • Published: 01/11/16
Disclaimers:

Financial : Although the Connexions website makes it possible for you to purchase a pre-printedversion of the book containing this page, please be aware that the pre-printed version probably won't contain the contents ofthe PDF file referenced above .

I also want you to know that, I receive no financial compensation from the Connexions website even if you purchasethe pre-printed version of the book.

In the past, unknown individuals have copied my materials from cnx.org, converted them to Kindle books, and have placed them for sale on Amazon.com showing me as the author. Ineither receive compensation for those sales nor do I know who does receive compensation. If you purchase such a book, please beaware that it is a copy of material that is freely available on cnx.org and that it was made and published without my prior knowledge.

Affiliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX.

-end-

Questions & Answers

encoding is the last step in memory stracture
FARWA Reply
crow and angle have feathers and can fly " it is a connective concept
FARWA
my mother always take decision based on reasoning ; she is practicng realistic thinking .
FARWA
all human are mortal is a formal concept
FARWA
sparrow is a best prototype of reptile
FARWA
echoic memory reflect humans visual system
FARWA Reply
getting the information back from stored area of brain is called retrieval
FARWA
no , echoic memory reflect upon things you hear , that's Iconic memory which deals with visual information
Nancy
I'll be studying psychology soon. Where do I start?
Jane Reply
I would start by learning basic terminology and definitions cause there's a lot of it and learning the different concepts behind psychology and there meanings and there use then go onto introduction into psychology
why is psychology a science?
Godslove Reply
it's a social science
Alex
what we define as science is a systematic arrangement of knowledge based on experimental and observational data.so psychology is a science. as for what kind of science it is depends on how and what information are you using in your approach towards understanding the said data and to what conclusion.
imirror
depending on your approach and understanding Psychology can classify as medical or social science like anthropology
imirror
your friend is under stress because she has not prepared well for the examination what strategies would you suggest her? express in 100 or 150 words
Masi Reply
hello
Masi
yess
dcs
where on the disorders does paranoid thought come in?
Hot Reply
hot shots will give you paranoid thoughts
Kimberly
Kimberly 😂😆😂 yes hot shots will give you paranoid thoughts
Brandon
what compound motivation is attention extension
Gauri Reply
what is psychology
Drishti Reply
The scientific study of the mind
Gina
scientific study of mind and behaviour
Siva
...
Saeed
Scientific study of mind soul behaviour and experiences
Ayush
scientific srtudy of behaviour and cognitive processes
Reshmi
Apply social psychology on real life in Nigerian universities campus
tyosaa Reply
what is the meaning of an idiosyncratic pattern
Krystle Reply
I am here for the first time just here to learn...
michael Reply
hi I'm new on here first time
Lisa
hello
GOPAL
hi,am new here
jennifer
what is this group all about
jennifer
Suppose an individual with OCD experiences obsessive thoughts about germs, contamination, and disease whenever she encounters a doorknob. What might have constituted a viable unconditioned stimulus? 
la Reply
What are factors that influence learning?
Enos Reply
Environment Heredity(I am not sure about heredity)
Tusita
Helpful. .. thanks
Enos
Sure, anytime
Tusita
I have other questions also
Enos
Based on the factors affecting learning, how do we improve learning
Enos
I think that addressing that everyone learns in their own time
James
Peer group influence can also be another reason
Sorie
Also knowing what's going on at home. what pressure are the parents putting on them.
James
am I close or no
James
also is there a lack of care? going one more step. with peer groups do an activity that shows how much they have in common
James
I think one's society has a big role to play in determining what/when & how he/she learns.
BECHEM
multiple reasons at different stages. at the earliest stages of development in a child is behaviour of people around. A baby starts learning basic social expressions and actions by mimicking the people around it. further social and cultural practices enforces learning and behaviour
imirror
from need to nutrition everything affect development and learning when choosing on a single factor of influence it is necessary to keep these other factors in the mind as environment around people is very plastic and flexible and there are many variables playing active role
imirror
social interaction is surely a big influence hence can be used to improve learning.
imirror
to encourage learning it is important to establish curiosity and notion of possibility for more perspectives habit of questioning possibilities and cause and effect in a great way to encourage learning in my opinion. language is another important factor
imirror
under what schedule of reinforcement do animals learn from ?
Phelisa Reply
the role of emotional intelligence in a courtship behavior
Caren Reply
1
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Fun with java. OpenStax CNX. Jan 11, 2016 Download for free at https://legacy.cnx.org/content/col11953/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fun with java' conversation and receive update notifications?

Ask