In computing, Java 2D is an API for drawing two-dimensional graphics using the Java programming language. Every Java 2D drawing operation can ultimately be treated as filling a shape using a paint and compositing the result onto the screen.
Read more about Java 2D: Organization, Advanced Objects, Optimizations, Destination, Java2D / OpenGL Interoperability