Java Reference
In-Depth Information
How to put an image from a file onto the screenIn the first draft of this chapter, I didn't add screen
shots. I originally left them out because we hoped you run the code as you read the topic. My editor (hi,
Ewan) pointed out that readers might want to see them, even if they are running the code, to see how
things should look when working correctly. Because Ewan had a good point, I added them, even though
the screenshots aren't nearly as good as seeing the animations run on your own computer. I also hope
that you “tinker” with the code as you go through the topic. Don't just run what you see in the topic.
Change the topic's code to match your own ideas. All the code in the topic belongs to you, so change it
all you like. Better still, write your own programs to create your own animations. I've tried to provide
some ideas, and I imagine you have lots of ideas, too.
As a final thought for this chapter, this chapter was one of my favorite chapters to write. I find
animations to be fun to create. If you agree, I encourage you to pursue animation programming as either
a hobby or a career (or both—many of the folks I work with go home and do more projects on their own
time). It can be rewarding, both in seeing your ideas come to life on a screen and in your pocketbook,
because it's a skill valued by many employers.
Search WWH ::




Custom Search