java 实现电子签名_java swing实现手写板电子签名系统

java swing实现手写板电子签名系统

支持 手写板 ,触摸屏电脑,支持压强 压感效果.........................

部分代码  MyLeftPanel.java

public void paintComponent(Graphics g)

{

super.paintComponent(g);

int height=getHeight();

int width=getWidth();

ImageIcon imageIcon;

imageIcon=new ImageIcon(getClass().getResource("Images/E-Signature_02.gif"));

MyUIUtils.DrawBufferedImageCutFillH(g, 0, 0, 26, height,imageIcon.getImage(),null);

imageIcon=new ImageIcon(getClass().getResource("Images/E-Signature_03.gif"));

MyUIUtils.DrawBufferedImageCutFillW(g,26,0,width-26,8, imageIcon.getImage(), null);//上 完

imageIcon=new ImageIcon(getClass().getResource("Images/E-Signature_07.gif"));

MyUIUtils.DrawBufferedImageCutFillH(g,width-9, 8,9,height-8,imageIcon.getImage(), null);//右 完

imageIcon=new ImageIcon(getClass

你可能感兴趣的:(java,实现电子签名)