源程序如下:
<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>
解决方案 »
- 请教SWT界面设计问题
- 有在上海通方集团这个公司工作过的吗??
- 使用if语句与使用条件运算符“?:”有什么不同?
- 请教在客户端用submit方法提交报对象不支持此属性的问题
- 一个简单的问题
- 怎么判断一个数字是偶数还奇数????
- 谁能通俗易懂的介绍一下this关键词?自己看教科书看得云里雾里。
- 自定义的序列化问题StreamCorruptedException
- 有没有人能提供resin的httpd参数的中文说明啊
- 一个简单的小问题和一个困难的大问题请大家帮忙!!!急急急
- 子类转成父类的问题,,和接口有关,我也不知道怎么描述了
- 请问“error: cannot read: Tb.java”是什么原因啊???
试一下吧:http://www.chinajavaworld.com/java/chart/JavaChart.class
然后查看一下,该网页的源码,找的嵌在网页中的Applet程序的名字.在硬盘中找以下
我叫你试一下这个地址,你试了吗?在浏览器输入下面地址就可以down下你要的class文件了。http://www.chinajavaworld.com/java/chart/JavaChart.class