文件名称:MiniDrawPad
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:61.17kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本程序通过调用JAVA提供的BasicStroke;Button; Color Container Graphics Panel ButtonGroup JFrame JComboBox;JCheckBox;JMenu;JMenuItem;ImageIcon;JPanel UIManager等基本类进行了简单的界面设计。
程序运用了JAVA中类的继承特性实现了对父类方法的调用,运用了ButtonHandler类用来侦听基本按钮的操作;运用ButtonHandler1类侦听颜色选择,画笔粗细设置、文字输入按钮的操作。鼠标事件mouseA类继承了MouseAdapter类,用来完成鼠标的相应事件操作;鼠标事件mouseB类继承了MouseMotionAdapter类,用来完成鼠标拖动和鼠标移动时的相应操作。
-This procedure provided by calling JAVA BasicStroke Button Color Container Graphics Panel ButtonGroup JFrame JComboBox JCheckBox JMenu JMenuItem ImageIcon JPanel UIManager basic class a simple interface design. Procedures using the JAVA classes inherit properties of the parent class method implements a call, use the ButtonHandler basic button class to listen for the operation use ButtonHandler1 class listening colors, pen thickness settings, text input button operation. Mouse event mouseA class inherits MouseAdapter class, corresponding to the completion of the mouse event operations mouse event mouseB class inherits MouseMotionAdapter class, used to complete the mouse to drag and move the mouse the corresponding operation.
程序运用了JAVA中类的继承特性实现了对父类方法的调用,运用了ButtonHandler类用来侦听基本按钮的操作;运用ButtonHandler1类侦听颜色选择,画笔粗细设置、文字输入按钮的操作。鼠标事件mouseA类继承了MouseAdapter类,用来完成鼠标的相应事件操作;鼠标事件mouseB类继承了MouseMotionAdapter类,用来完成鼠标拖动和鼠标移动时的相应操作。
-This procedure provided by calling JAVA BasicStroke Button Color Container Graphics Panel ButtonGroup JFrame JComboBox JCheckBox JMenu JMenuItem ImageIcon JPanel UIManager basic class a simple interface design. Procedures using the JAVA classes inherit properties of the parent class method implements a call, use the ButtonHandler basic button class to listen for the operation use ButtonHandler1 class listening colors, pen thickness settings, text input button operation. Mouse event mouseA class inherits MouseAdapter class, corresponding to the completion of the mouse event operations mouse event mouseB class inherits MouseMotionAdapter class, used to complete the mouse to drag and move the mouse the corresponding operation.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MiniDrawPad.docx
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.