文件名称:MiniDrawPad
- 所属分类:
- JSP源码/Java
- 资源属性:
- 上传时间:
- 2012-11-26
- 文件大小:
- 61kb
- 下载次数:
- 0次
- 提 供 者:
- 远*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本程序通过调用JAVA提供的BasicStroke;Button; Color Container Graphics Panel ButtonGroup Jfr a me 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 Jfr a me 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 Jfr a me 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