- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
用java绘制k线(Draw k line with Java)
用java绘制k线(Draw k line with Java)
Author: asp2001
Email: asp2001@163.net
Date: 2000-8-9 18:49:59
Draw k line with Java
Wang Zhe, Mudanjiang, Heilongjiang
The Applet (Java applets) in the Java language and the Application (Java application) are two different programming styles that differ greatly in structure and functionality. The application of Applet in the Web page, can make a colorful page effects, add color to the website graced with Application; other programming languages (such as VB, VC), can prepare all kinds of applications.
This article will discuss the first case. Draw the K line diagram with Java Applet on the Web page.
K is a parameter index, stock market analysis, with the daily stock opening price, high price, low price, closing price and volume data were plotted, with five day and ten day moving average can reflect a phase in which the stock price trend.
Java Applet do K line diagram, more should be used for securities type of website, in order to facilitate the analysis of online investors. However, due to the speed of our relationship, there are some securities websites to make K line map of the picture to save time to download. Of course, the tools used to draw k lines (Java, Applet) and methods of drawing are the same.
In the preparation of Java - Applet draw k line, there are several key issues to be addressed, namely: 1) use multiple threads; 2) layout manager selection; 3) application of data input and output streams; 4), set the monitor for mouse and keyboard events.
Below, an example is given to illustrate the whole programming process and method.
First, use multithreading
- a complete Java Applet contains four methods, Init (Start), (Stop), Destroy (), () (i.e.: initialize, start, stop, clear), to form a complete life cycle, the running order is the order of execution.
In the process of drawing, K line chart, in addition to the drawing form and lifting line line, rectangular stock, but also to monitor mouse events and draw a free moving cr
您可能关注的文档
- 乐华世界杯之旅回望(Leroy World Cup tour back).doc
- 义乌最全最精进货攻略(Yiwu's most comprehensive purchase of the most sophisticated Raiders).doc
- 乒乓球专业术语(Table tennis terminology).doc
- 乌兰察布副市长严洪波强调重点发展(Yan Hongbo, vice mayor of Wulanchabu, stressed the importance of development).doc
- 乔布斯带给我们的三堂必修课!(Jobs gave us three required courses!).doc
- 乔布斯精彩语录成为坟墓中的富豪毫无意义(Jobs's wonderful quote being a rich man in the grave makes no sense.).doc
- 乙烯-醋酸乙烯酯共聚物(eva)类热熔胶粘剂(Ethylene vinyl acetate copolymer (EVA) type hot melt adhesive).doc
- 习题六 (解答)(Problem six (answer)).doc
- 乡镇应急工作计划(Township emergency work plan).doc
- 买婚纱攻略(Wedding dress introduction).doc
- 用rsync保持linux服务器间的文件同步(Using Rsync to keep file synchronization between Linux servers).doc
- 用一个汉字记住300个单词(Remember 300 words with a Chinese character).doc
- 用vc编程实现bmp图像裁切(Programming with VC BMP image cutting).doc
- 用客户关系管理推动团销(Use customer relationship management to promote Group sales).doc
- 用废金属破案——机械的失效与失效分析(Using scrap metal to solve the case -- mechanical failure and failure analysis).doc
- 用相关的纪录片说明美国登月真假(Use related documentaries to explain the true and false lunar landing in the United States).doc
- 用三个月时间积攒三年的工作经验(Three months of work experience in three years).doc
- 用绩效管理留住你的核心员工(Keep your core employees with performance management).doc
- 用英语表达美丽的思念(Express your beautiful thoughts in English).doc
- 电位滴定法测定酱油中氯化钠含量(Determination of sodium chloride in soy sauce by potentiometric titration).doc
文档评论(0)