ÔÚJavaÓ¦ÓóÌÐòÖÐʹÓÃJfreechartÅäÖÃ[z]
ÕªÒª£º±¾ÎĽ«Ì¸Ì¸ÔÚJavaÓ¦ÓóÌÐòÖÐʹÓÃJfreechartÅäÖã¬JFreeChartÊÇÓÃJava¿ª·¢µÄÒ»¸öÃâ·ÑµÄchartͼÐδ¦ÀíÀà¿â¡£
²âÊÔ»·¾³£º
OS¡¡£ºWindowsXP
Java£ºjdk1.5.0_06
JFreeChart£º1.0.9£¨2008Äê3Ô¡¡×îа汾£©
ÒòΪJFreeChart²ÉÓÃJava¿ª·¢¶ø³É£¬ËùÒÔÔÚÆäËûϵͳҲÄÜÕý³£ÔËÐС£
JFreeChartµÄ°²×°
1£¬ÏÂÔØ
´ÓSourceforge.netµÄJFreeChartÏîÄ¿ÏÂÔØÒ³Ãæ
ÏÂÔØJFreeChart¡£Õâ´ÎÎÒÃÇÏÂÔØjfreechart-1.0.9.zip¡£
2£¬½âѹËõ
½«ÏÂÔØµÄÎļþ½âѹËõµ½ÈÎÒâÊʵ±µÄÎļþ¼Ð£º
3£¬½«jcommon-1.0.12.jar£¬ÒÔ¼°jfreechart-1.0.9.jar¼ÓÈëµ½ÏîÄ¿µÄclasspath¡£
½âѹËõÖ®ºóµÄÄ¿±êÎļþ¼ÐÖдæÔÚÒÔÏÂ2¸öÎļþ£º lib/jcommon-1.0.12.jar£¬ÒÔ¼°lib/jfreechart-1.0.9.jar£¬½«Æä¼ÓÈ뵽Ŀ±êÏîÄ¿µÄclasspath¡£
JFreeChartÑÝʾ³ÌÐò
JFreeChartÑÝʾ³ÌÐòµÄÆô¶¯¿ÉÒÔͨ¹ýÊó±êË«»÷»òÖ´ÐÐÒÔÏÂÃüÁ
c:\jfreechart-1.0.9>java -jar jfreechart-1.0.9-demo.jar
ÎÒÃÇ¿ÉÒÔ¸ù¾Ý¸Ãdemo£¬Á˽âJFreeChartµ½µ×ÄÜ×ö³öʲôÑùµÄchart¡£DemoµÄÔ´´úÂëÐèÒª¹ºÂò¡£
±¾Îijö×Ôhttp://www.tsp2c.cn/
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
µÚÒ»½Ú Êý¾ÝÁ÷µÄ»ù±¾¸ÅÄî
Àí½âÊý¾ÝÁ÷
Á÷Ò»°ã·ÖΪÊäÈëÁ÷£¨Input Stream£©ºÍÊä³öÁ÷£¨Output Stream£©Á½À࣬µ«ÕâÖÖ»®·Ö²¢²»ÊǾø¶ÔµÄ¡£±ÈÈçÒ»¸öÎļþ£¬µ±ÏòÆäÖÐдÊý¾Ýʱ£¬Ëü¾ÍÊÇÒ»¸öÊä³öÁ÷£»µ±´ÓÆäÖжÁÈ¡Êý¾Ýʱ£¬Ëü¾ÍÊÇÒ»¸öÊäÈëÁ÷¡£µ±È»£¬¼üÅÌÖ»ÊÇÒ»¸öÊýÈËÁ÷£¬¶øÆÁÄ»ÔòÖ»ÊÇÒ»¸öÊä³öÁ÷¡£ ......
java»º´æ¼¼ÊõÒ»£¨×ª£©
¿´Ò»Á£É³ÖеÄÊÀ½ç£¬ Ò»¶äÒ°»¨ÖеÄÌìÌᣠ°ÑÎÞÏÞÎÕÓÚÕÆÖУ¬ °ÑÓÀºãÎÕÓÚ˲¼ä¡£——ÍþÁ®• ²¼À³¿Ë
¿ªÊ¼ÌÖÂÛ»º´æÖ®Ç°,ÈÃÎÒÃÇÏÈÀ´ÌÖÂÛÌÖÂÛÁíÍâÒ»¸öÎÊÌâ:ÀíÂÛºÍʵ¼ù.´Óahuaxuan½Ó´¥µÄ³ÌÐòÔ±À´¿´,ÓеijÌÐòԱƫʵ¼ù,ÓеijÌÐòԱƫÀíÂÛ,µ«ÊÇÕâ¶¼ÊDz»ºÃµÄÐÐΪ,ÀíÂÛºÍʵ¼ùͬÑùÖØÒª,ÎÒÃÇÔÚ×öºÜ¶àº ......
ÎÒÔÚÍæÒ»¸öÍøÒ³ÓÎÏ·µÄʱºò×ÜÊǰ´Ò»¸ö¼ü¡£¾õ×ÅÀÛ¡£ËùÒÔ¾ÍдÁËÒ»¸ö³ÌÐò¡£
Robot r = new Robot();
// °´¼ü
r.keyPress(51);
// ÊÍ·Å
r.keyRelease(51);
ÓÃRobot Õâ¸öʵÏÖ×Ô¶¯»¯µÄÀà¾Í¿É×öµ½¡£ÊµÏÖÕâ¸öÓÎÏ·Ò»Ö±°´ÏÂÕâ¸ö¼ü×Ó¡£
Ò²¿ÉÒÔ×ö°´¼ü¾«ÁéÀàËÆµÄÈí¼þ¡£µ«ÊÇÕâ¸öÀàÖ»ÄÜÓ¦Óõ±Ç°´°¿Ú¡£ÔõôÄܰÑÕâ¸ö³ÌÐò¹Ì¶¨ÔÚij ......