标准JAVA中如何实现图形按钮 |
| |
引用本文: | 薛俊玲 崔末兰. 标准JAVA中如何实现图形按钮[J]. 电脑开发与应用, 2000, 13(9): 37-39 |
| |
作者姓名: | 薛俊玲 崔末兰 |
| |
作者单位: | 山西水利水电勘测设计研究院!太原 030024,山西水利水电勘测设计研究院!太原 030024 |
| |
摘 要: | Java虽然已风靡全球,但用户界面在某些地方还不太令人满 意。比如说没有图形按钮,没有象Windows系统中漂亮的Teb头等,针对这一情况,介绍了如 何利用组件事件传递方法和自绘制来实现标准Java的图形按钮。 同时还介绍了特定组件在J ava中产生的相应事件。 文中所列程序已全部在Windows 98平台上JDK1.1.1.2编译中运行 通过。
|
关 键 词: | Button(按钮)类 Component(组件)类 类 |
How to Realize the Image Buttons in Standard JAVA |
| |
Abstract: | Although java has been famous in all of the word ,user interfaces can’t be satisfied in some places.For example,image buttons ar e not available,and Teb head is not as beatiful as that in windows system.Aim at this condition,the paper describes how to use component event transmission ways and self drawing to realize standard Java image button.Meanwhile ,the rel ative event resulted from special component in Java is introduced.Programs liste d in the paper have all been runin the windows 98 platforms through JDK 1.1.1.2 compiling. |
| |
Keywords: | button class component class class |
本文献已被 CNKI 维普 等数据库收录! |