• 大小: 0.04M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-27
  • 标签: java  工具  画图  

资源简介

java 版画图工具可选 形状 颜色 画笔等等

资源截图

代码片段和文件信息

package Shapes;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.text.Document;

public class Drawframe extends Jframe{
private JLabel statusLabel;//display the coordinates of the mouse
private DrawPanel drawPanel;//the main drawing panel
private JPanel control;//contain the components of all kinds of control buttons
private JPanel java2DOptions;//contain the components for setting java2D options
private Color color1=Color.BLUEcolor2=Color.YELLOW;
private JTextField widthdashLength;
private float[] dashes;

public Drawframe()
{
super(“java Drawings“);
setLayout(new BorderLayout());//set frame layout

statusLabel=new JLabel(“positi

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        301  2013-03-29 16:06  Graphics2\.classpath

     文件        384  2013-03-29 16:06  Graphics2\.project

     文件      23952  2013-05-02 22:43  Graphics2\MyPainter.jar

     文件        598  2013-03-29 16:06  Graphics2\.settings\org.eclipse.jdt.core.prefs

     文件        752  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$1.class

     文件       1570  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$10.class

     文件        750  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$2.class

     文件        916  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$3.class

     文件        902  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$4.class

     文件       1172  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$5.class

     文件       1495  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$6.class

     文件       1476  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$7.class

     文件       1552  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$8.class

     文件       1492  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe$9.class

     文件       4184  2014-04-24 09:58  Graphics2\bin\Shapes\Drawframe.class

     文件       2601  2014-04-24 09:58  Graphics2\bin\Shapes\DrawPanel$MouseHandler.class

     文件       3579  2014-04-24 09:58  Graphics2\bin\Shapes\DrawPanel.class

     文件       1217  2014-04-24 09:58  Graphics2\bin\Shapes\MyLine.class

     文件       1349  2014-04-24 09:58  Graphics2\bin\Shapes\MyOval.class

     文件       1304  2014-04-24 09:58  Graphics2\bin\Shapes\MyRect.class

     文件       2225  2014-04-24 09:58  Graphics2\bin\Shapes\MyShape.class

     文件        613  2014-04-24 09:58  Graphics2\bin\testShapes\testShapes.class

     文件       7799  2013-05-02 22:28  Graphics2\src\Shapes\Drawframe.java

     文件       3790  2013-05-02 19:19  Graphics2\src\Shapes\DrawPanel.java

     文件        725  2013-05-02 19:24  Graphics2\src\Shapes\MyLine.java

     文件        719  2013-05-02 19:15  Graphics2\src\Shapes\MyOval.java

     文件        839  2013-05-02 19:15  Graphics2\src\Shapes\MyRect.java

     文件       2381  2013-05-02 22:39  Graphics2\src\Shapes\MyShape.java

     文件        425  2013-04-30 19:26  Graphics2\src\testShapes\testShapes.java

     目录          0  2014-04-24 09:58  Graphics2\bin\Shapes

............此处省略10个文件信息

评论

共有 条评论