JFreeChart (Java¿ªÔ´Í¼±í)
JFCÊÇÒ»¸öÇáÁ¿¼¶µÚÈý·½¿ªÔ´×é¼þ,²»ÒÀÀµÆäËû×é¼þ,ʹÓÃProject¼´¿É¡£
×÷ÓãºÒÔͼ±í·½Ê½Õ¹Ê¾Êý¾Ý
꿅᣼www.jfree.org
Àà¿â£ºJFreeChart¡¢JCommon(JFreeReportºÍJFreeChartµÄ¹«¹²Àà¿â)
Ö¸ÄÏ£º jfreechart-1.0.13-install.pdf
API: jfreechart-1.0.13-javadocs.zip
ѹËõ°ü£ºjfreechart-1.0.13
ant ÂìÒÏ
checkstyle ¼ì²é·ç¸ñ
docfiles ÎĵµÎļþ:ͼ±íͼƬ
experimental ÊÔÑéµÄ
lib Àà¿â
source Ô´´úÂë(´ò°ü³É.zipÔÚeclipse²é¿´)
swt Standard Widget(¹¹¼þ) Toolkit(¹¤¾ßÏä)
tests ²âÊÔ: ʾÀý
ʾÀý£ºµÚÒ»¸öͼ±í³ÌÐò
Java´úÂë
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartFrame;
import org.jfree.chart.JFreeChart;
import org.jfree.data.general.DefaultPieDataset;
/**
* A simple introduction to using JFreeChart. This demo is described in the
* JFreeChart Developer Guide.
*/
public class First {
/**
* The starting point for the demo.
*
* @param args
* ignored.
*/
public static void main(String[] args) {
// create a dataset... ´´½¨±ýͼָ¶¨Êý¾Ý
DefaultPieDataset data = new DefaultPieDataset();
&nbs
Ïà¹ØÎĵµ£º
̰³ÔÉßµÄËã·¨·ÖÎö(Java)
̰³ÔÉßÊÇÒ»¿î·Ç³£¾µäµÄÊÖ»úÓÎÏ·¡£ËüÓкܶàËã·¨£¬ÕâÀïÏêϸ·ÖÎöÒ»ÖֱȽÏÓÅÐãµÄËã·¨¡£
Ê×ÏȽéÉÜÏÂÖ÷ÒªÓõ½µÄÆß¸öÀࣺ
l WormMain£º×îÖ÷ÒªµÄÀ࣬¿ØÖÆËùÓÐÆäËüÀàµÄÔËÐкÍÏú»Ù¡£
l &nbs ......
package com.gamvan.tools;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class FormatDateTime {
/**
* ÈÕÆÚÀà²Ù×÷¹¤¾ß
*/
public static String formatDateTime(String ymd){
//¸ñʽ»¯µ±Ç°Ê±¼ä
java.text ......
public class Test2 extends TestStatic{
static{
System.out.println("b");
}
Test2(){
System.out.println(2);
}
public static void main(String args[]){
&nbs ......
ÕâÀï×ܽáÒ»ÏÂXMLÎļþµÄ¶Áд¹ý³Ì£¬ÏÈ˵һÏÂдµÄ¹ý³Ì£¬ÕâÀïÎÒÓõÄÊÇXmlDocumentµÄwrite·½·¨ÊµÏֵģ¬Ð´µÄ¹ý³ÌÊDZȽϼòµ¥µÄ£¬Ö»ÐèÒª¶¨Òå×Ô¼ºÏëÒªµÄÔªËØ±äÁ¿£¬
Element user=null;
Element username=null,password=null;
È»ºó
// ¶¨Ò幤³§£¬Ê¹Ó¦ÓóÌÐòÄܹ»´Ó XML Î ......