Day 13. Creating Java2D Graphics
Today, you’ll work with Java classes that put the graphics in graphical user interfaces. Java2D is a set of classes that support high-quality, scalable, two-dimensional images, color, and text.
Java2D, which includes classes in the java.awt
and javax.swing
packages, can be used for each of these visually appealing tasks:
Drawing text
Drawing shapes such as circles and polygons
Using different fonts, colors, and line ...
Get Sams Teach Yourself Java™ in 21 Days (Covering Java 8), Seventh Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.