源程序如下:
<APPLET align=center code=JavaChart height=400 id=JavaChart
name=JavaChart width=400><PARAM NAME="ChartType" VALUE="0"><PARAM NAME="RowCount" VALUE="1"><PARAM NAME="ColumnCount" VALUE="3"><PARAM NAME="groupGaps" VALUE="10"><PARAM NAME="leftGaps" VALUE="40"><PARAM NAME="ColumnColor" VALUE="188,0,0,;55,255,255,;125,55,25,;155,155,255,;215,155,215,;155,155,255,;255,255,255,;155,255,155,;155,155,55,;55,55,55,;"><PARAM NAME="Data" VALUE="45,45,180,18,;90,180,90,;90,60,10,;"><PARAM NAME="Diameter" VALUE="150"><PARAM NAME="barWidth" VALUE="20"><PARAM NAME="barGaps" VALUE="12"><PARAM NAME="FontSize" VALUE="15"><PARAM NAME="TitleText" VALUE="statistics (click me)"><PARAM NAME="showLegend" VALUE="true"><PARAM NAME="showControlBar" VALUE="true1"><PARAM NAME="ColumnLabel" VALUE="C++;Basic;Java;"><PARAM NAME="RowLabel" VALUE=";;;"><PARAM NAME="YAxisUnit" VALUE="number"><PARAM NAME="XAxisUnit" VALUE="generic"><PARAM NAME="align" VALUE="center"><PARAM NAME="code" VALUE="JavaChart"><PARAM NAME="height" VALUE="400"><PARAM NAME="id" VALUE="JavaChart"><PARAM NAME="name" VALUE="JavaChart"><PARAM NAME="width" VALUE="400"><PARAM NAME="codeBase" VALUE="http://www.chinajavaworld.com/java/chart/">
<!-- these must be input --><!--<PARAM NAME=ColumnColor
value="blue;red;green;black;cyan;darkGray;gray;lightGray;magenta;orange;pink;yellow;">
--><!-- thest must be input or not according to the ChartType
--><!-- these need not be input if you donot like to --></APPLET>
<APPLET align=center code=JavaChart height=400 id=JavaChart
name=JavaChart width=400><PARAM NAME="ChartType" VALUE="0"><PARAM NAME="RowCount" VALUE="1"><PARAM NAME="ColumnCount" VALUE="3"><PARAM NAME="groupGaps" VALUE="10"><PARAM NAME="leftGaps" VALUE="40"><PARAM NAME="ColumnColor" VALUE="188,0,0,;55,255,255,;125,55,25,;155,155,255,;215,155,215,;155,155,255,;255,255,255,;155,255,155,;155,155,55,;55,55,55,;"><PARAM NAME="Data" VALUE="45,45,180,18,;90,180,90,;90,60,10,;"><PARAM NAME="Diameter" VALUE="150"><PARAM NAME="barWidth" VALUE="20"><PARAM NAME="barGaps" VALUE="12"><PARAM NAME="FontSize" VALUE="15"><PARAM NAME="TitleText" VALUE="statistics (click me)"><PARAM NAME="showLegend" VALUE="true"><PARAM NAME="showControlBar" VALUE="true1"><PARAM NAME="ColumnLabel" VALUE="C++;Basic;Java;"><PARAM NAME="RowLabel" VALUE=";;;"><PARAM NAME="YAxisUnit" VALUE="number"><PARAM NAME="XAxisUnit" VALUE="generic"><PARAM NAME="align" VALUE="center"><PARAM NAME="code" VALUE="JavaChart"><PARAM NAME="height" VALUE="400"><PARAM NAME="id" VALUE="JavaChart"><PARAM NAME="name" VALUE="JavaChart"><PARAM NAME="width" VALUE="400"><PARAM NAME="codeBase" VALUE="http://www.chinajavaworld.com/java/chart/">
<!-- these must be input --><!--<PARAM NAME=ColumnColor
value="blue;red;green;black;cyan;darkGray;gray;lightGray;magenta;orange;pink;yellow;">
--><!-- thest must be input or not according to the ChartType
--><!-- these need not be input if you donot like to --></APPLET>
解决方案 »
- 大数据文件分析提取
- DataFlavor是作什么用的?
- Socket编程的疑问
- RandomAccessFile 这个类的用法 就是随即存储,最好给个列子哈
- 书上一个例子,死都调不通,谁帮忙我发源程序邮件给他(她),然后告诉我是否可以调通。谢谢!!!
- 麻烦各位帮我看看这道题 谢谢
- 问个关于工资的问题
- 跪求答案,请问哪个大哥大姐能帮我做个题目,用JAVA编程,再过3天就要考的,谢谢啊~~
- 如何让TextArea显示多彩文本
- 代码块与函数间的同步。为什么线程0只执行了一次
- 子类转成父类的问题,,和接口有关,我也不知道怎么描述了
- 请问“error: cannot read: Tb.java”是什么原因啊???
试一下吧:http://www.chinajavaworld.com/java/chart/JavaChart.class
然后查看一下,该网页的源码,找的嵌在网页中的Applet程序的名字.在硬盘中找以下
我叫你试一下这个地址,你试了吗?在浏览器输入下面地址就可以down下你要的class文件了。http://www.chinajavaworld.com/java/chart/JavaChart.class