help!一个有关applet和类的问题

maytx 2003-05-07 03:16:02
我写了一个applet,用到了一个类flame,我放在package tjtest中
classpath都设好了,编译之类的也通过了
然后我把applet嵌入网页中

<applet code=draw.class
name=draw
width=440
height=650>

<param name=backgroud value="111111">

<param name=foregroud value="ffffff">
</applet>

因为用到了flame类,是不是上面还要加一个参数阿
把tjtest.flame也加进去阿

谢谢!!!

...全文
33 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
maytx 2003-05-07
  • 打赏
  • 举报
回复
不是引号的关系
我在文件夹中直接点开这个html文件
这个html中就上面一段代码
可以运行,applet能够画出从servlet传来的数据
但是如果我以http://10.11.26.121/.../aaa.html
这种方式打开html
applet就读到的数据就全是0

wql1116 2003-05-07
  • 打赏
  • 举报
回复
加一个引号试试。
实现delphi中TChart一样的图表 RChart is java class library (and applet) that will add charts to your java application or web site. In order to run the example application unzip the file .zip and read the HowToRun.txt file. FILES: Examples.htm: applet examples - Javadoc directory: javadoc files. - Help_english.html: Parameters of the servlet and applet - charapp.java: sample java application - chartApplet.java: source code of the applet - RChartServlet.java: source code of the servlet - servlet_examples directory: examples for the servlet - run*.bat: batchs file to run sample application with different Java VM. - version.txt: version information - rchart.jar: rchart java classes EVALUATION You have downloaded an evaluation version of RChart. This version can display a maximum of 7 values. QUESTIONS, COMMENTS ... In case of questions, comments... you can contact the author to Java4Less@confluencia.net REGISTRATION The price of the license is 22$ (basic binary version). If you are interested in the product, you can contact us by e-mail to the address Java4Less@confluencia.net. http://rreport.port5.com http://rreport.8m.com http://www.java4less.com EVALUATION LICENSE AGREEMENT (this does not apply if you already bought the full version) IMPORTANT - READ CAREFULLY This license statement constitutes a legal agreement between you (either as an individual or a single entity) and J4L Components (http://www.java4less.com) for the evaluation version of RChart including any examples, source code and documentation. BY DECOMPRESSING, COPYING, OR OTHERWISE USING THE RECEIVED ZIP FILES, YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THE LICENSE AGREEMENT. Upon your acceptance of the terms and conditions of the License Agreement, you are granted the use of the Software in the manner provided below. This Software is protected by copyright law and international copyright treaty. Therefore, you must treat this Software like any other copyrighted material (e.g., a book). EVALUATION LICENSE TERMS 1. The evaluation version of the product can only be used for evaluation purposes. 2. You may not include any component of this version in any final product or application. 3. You may not redistribute any components of this product without this license agreement. 4. You must delete this software after 30 days if you have not purchased the full version. 5. Reverse engineering, reverse compiling, or disassembly of the Software is expressly prohibited. TRADE SECRETS You acknowledge and agree that the structure, sequence and organization of the Software are the valuable trade secrets of J4L Components (http://www.java4less.com). You agree to hold such trade secrets in confidence. NO WARRANTY: THE SOFTWARE AND DOCUMENTATION ARE PROVIDED ON AN "AS IS" BASIS AND ALL RISK IS WITH YOU. J4L COMPONENTS (http://www.java4less.com) MAKES NO REPRESENTATIONS OR WARRANTIES THAT THE SOFTWARE AND DOCUMENTATION PROVIDED ARE FREE OF ERRORS OR VIRUSES OR THAT THE SOFTWARE AND DOCUMENTATION ARE SUITABLE FOR YOUR INTENDED USE. LIMITATION OF LIABILITY: IN NO EVENT SHALL J4L COMPONENTS (http://www.java4less.com) OR ITS SUPPLIERS BE LIABLE TO YOU OR ANY OTHER PARTY FOR ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES, LOSS OF DATA OR DATA BEING RENDERED INACCURATE, LOSS OF PROFITS OR REVENUE, OR INTERRUPTION OF BUSINESS IN ANY WAY ARISING OUT OF OR RELATED TO THE USE OR INABILITY TO USE THE SOFTWARE AND/OR DOCUMENTATION, REGARDLESS OF THE FORM OF ACTION, WHETHER IN CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT PRODUCT LIABILITY OR OTHERWISE, EVEN IF ANY REPRESENTATIVE OF J4L COMPONENTS OR ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THIS DISCLAIMER OF LIABILITY FOR DAMAGES WILL NOT BE AFFECTED BY ANY FAILURE OF THE SOLE AND EXCLUSIVE REMEDIES HEREUNDER.

62,628

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧