{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


23-AdvancedGraphics - Chapter XXIII Advanced Graphics...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter XXIII Advanced Graphics Chapter XXIII Topics 23.1 Introduction 23.2 Drawing Individual Pixels 23.3 Using the Font class 23.4 Mathematics and Polygons 23.5 Using Mouse Routines with Graphics 23.6 Understanding Graphics Displays 23.7 Virtual Memory & Video Buffering 23.8 Buffering Program Examples 23.9 The Magic of Method update 23.10 Importing Images 23.11 Multi-Page Output 23.12 Summary Chapter XXIII Advanced Graphics 1167
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Introduction The primary purpose of Exposure Java is to support students in a college-prep or AP Computer Science course. A secondary purpose is to learn Java, the current language used on the AP Computer Science Examination. The College Board Test Development Committee has decided not to test students on input or output topics with the Java programming language. There are many different ways to handle input/output. You have already seen that "input" can be as tedious as hard coding variable values in a program. It can be a little better by entering values at the command line prompt. Input can also be interactively done entered as a text string or entered in some GUI window. This list is not even complete since there are many more ways that Java allows data to be entered into a program. You have also seen that output can be done rather simply with text output or in a more complex manner in a Windows environment. It is precisely because of the large variety of input/output options that the Test Development Committee decided not to ask specific questions in this area. You will therefore see some warning boxes from time to time, as the one below, which indicates that the current topic is optional. It is optional in the sense that you will not be asked questions on the AP Computer Science Examination, but many optional topics are very important nevertheless. AP Computer Science Examination Warning This is an optional chapter in the AP Computer Science curriculum. The graphics concepts in this chapter and future input/output chapters will not be tested on the AP Computer Science Examination. So just why is there a need to do topics that are optional? A simple answer is that computer science students like doing graphics. I do believe that you will like the lab assignments at the conclusion of this chapter better than the interest programs of an earlier chapter. A more accurate answer is that graphics is an excellent tool to learn and practice computer science concepts. In this chapter you will learn a large variety of Java graphics methods. Each one of these methods requires the precise use of parameters. The display of many graphics images involves the use of many control structures and a solid knowledge of Boolean logic. Graphics provides instant feedback. If you handle the parameters incorrectly, if you use wrong logic in your control structures conditions, the output will be bizarre. At the conclusion of this chapter you might be drawing a star and the US flag, or you may create your own paint program. Any mistake in your program will stare at Page 1168 Exposure Java 2009, APCS Edition 08-08-09
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 86

23-AdvancedGraphics - Chapter XXIII Advanced Graphics...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online