About this tutorial
This tutorial is an introduction to the Java 2D API, a core component of the Java 2 platform and, most importantly for you, a significant advance in the graphical capabilities you can add to your Java applications. Java 2D contains a vast array of features, all of which represent the pinnacle of object-oriented graphics programming. Java 2D turns an application into a virtual canvas that allows sophisticated drawing and painting operations as well as superior font- and text-handling capabilities.
We'll be using example code to enhance the discussion, demonstrating how you can use some of the complex and powerful features of this API to create stylish, professional applications.
This tutorial is intended for people who already have good familiarity with Java programming, especially in the realm of graphical user interface applications.
Java 2D is an advanced topic and minimally requires a good grasp on how the Java language works. Many of the concepts covered in this tutorial also touch on the platform's GUI capabilities, because Java 2D is designed to integrate tightly with these.
If you are new to Java programming, I recommend that you become familiar with the language and environment before taking this tutorial. If you have experience with the Java language, but have never done any graphical programming, it might be best to get some exposure before commencing this effort. See Resources for information on Java programming in general and GUI apps in particular.
Hardware and software requirements
Java 2D programming requires the Java 2 platform, Standard Edition. To execute Java 2D programs without the development capabilities, the Java 2 runtime environment (J2RE) will suffice. This version does not contain a compiler or source code for the underlying classes, but does contain all the necessary support for executing Java 2D applications.
For minimal and optimal hardware and software requirements, check the System Requirements section of the SDK installation notes that correspond to your target operating environment.
To execute Java 2D code in a Web browser, use the Java 2 plugin that corresponds to your browser software.

