Using japanese characters

public class JapaneseChart {
   public static void main(String[] argv) {
     BarChart chart = new BarChart();

     Font font = new Font("Monospaced", Font.PLAIN, 30);
     chart.setFont("titleFont", font);

     double values[] = {90, 70, 50, 30, 10};
     chart.setSampleValues(0, values);

     com.objectplanet.chart.NonFlickerPanel p =
      new com.objectplanet.chart.NonFlickerPanel(new BorderLayout());
     p.add("Center", chart);
     Frame f = new Frame();
     f.add("Center", p);
     f.setSize(300, 210);;

To run this example your system locale has to be set to Japanese
and the file in your jdk home directory has to be
replaced with