Posted on July 4, 2007 by Subin
Sun is releasing weekly early access snapshots of the complete source, binaries and documentation for JDK 7. These raw snapshot releases let you review and contribute to the Java SE platform as it is being developed.
Some possible language changes being considered for Dolphin include:
property support (for getFoo()/setFoo() pattern)
method references (a quick way to write an [...]
Filed under: Articles, What's New ! | No Comments »
Posted on July 4, 2007 by Subin
This can be achieved by extending the BarRenderer. BarRenderer is responsible for all kind of UI related things like setting the font, setting the colors, setting the alignment etc etc. Rather we can say everything. The same can be achieved by extending corresponding renderer.
Here the getItemPaint(row, col) has been overridden to achieve the custom colors.
CustomRenderer:
import [...]
Filed under: Code Snippets, Graphics | Tagged: JFreeChart | No Comments »
Posted on July 4, 2007 by Subin
The given code snippet can create a 3D Bar Chart. The given Bar Chart compares 2 aspects of each customer. The generated chart will have two bars for each customer for both Profit1 and Profit 2 (see the dataset).
Profit 1 can can be total annual profit and Profit 2 can be profit for a [...]
Filed under: Code Snippets, Graphics | Tagged: JFreeChart | 2 Comments »