Java 2D may be the most obvious solution for programming 2D graphs in Java programs, but it's not the only one. In this article, you will learn an elegant alternative in the form of Java Objects for Science (JSci), an open-source package that lets you create 2D bar graphs, pie charts, and line graphs in Swing. For most Java developers, any type of graphics development is intrinsically bound up with the Java 2D and 3D APIs and java.awt.Graphics. While the Java 2D and 3D APIs provide an excellent tool for creating graphics in Swing, they aren't the only ones at your disposal, and they certainly aren't the easiest ones to learn. And for those of you who don't have the time, need, or inclination to burn the midnight oil getting to know java.awt.Graphics intimately, I propose an open-source alternative: JSci. |