Search:

Type: Posts; User: aelynne

Search: Search took 0.14 seconds.

  1. Re: How to capture signature using Canvas and save in png format?

    yeah, becuse i dont understand java programming, that why i need your help
  2. Re: How to capture signature using Canvas and save in png format?

    it doesnt have error message. i can compile it, just it has red line below the text. and when i pressed save button it eventdispatchthread. java and show this

    if (theQueue.peekEvent() != null || ...
  3. Re: How to capture signature using Canvas and save in png format?

    this the error,1268
  4. Re: How to capture signature using Canvas and save in png format?

    my error is in here. at the canvas, image n so on. getWidth, getHeight. what should i replace to that?


    public void capture(){
    Graphics g = image.createGraphics();
    ...
  5. Re: How to capture signature using Canvas and save in png format?

    my error is in here. at the canvas, image n so on. getWidth, getHeight. what should i replace to that?


    public void capture(){
    Graphics g = image.createGraphics();
    ...
  6. Re: How to capture signature using Canvas and save in png format?

    like this? but i it have error


    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Image;
    import...
  7. Re: How to capture signature using Canvas and save in png format?

    i dont get it. i'm new to java. can u give example? or help me add in my code?
  8. Re: How to capture signature using Canvas and save in png format?

    is it in here
    if (image == null?
  9. Re: How to capture signature using Canvas and save in png format?

    this is the code example same as i do. how to add save function to it?


    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import...
  10. Re: How to capture signature using Canvas and save in png format?

    take a look at this, i have paint component. but how I can save the image?


    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import...
  11. Re: How to capture signature using Canvas and save in png format?

    i dont get it, can you give some example?
  12. Re: How to capture signature using Canvas and save in png format?

    try this. i already done that, nothing problem. my problem is how to save the image i draw in the canvas.


    import javax.swing.*;

    import java.awt.*;
    import java.awt.event.*;
    import...
  13. Re: How to capture signature using Canvas and save in png format?

    i can compile it. nothing problem
  14. Re: How to capture signature using Canvas and save in png format?

    sorry, this is my new code. when i run, it save blank black image. i want to save the drawing on the canvas. please help me.


    import javax.swing.*;

    import java.awt.*;
    import...
  15. How to capture signature using Canvas and save in png format?

    I have done this, but i have problem to save the image? can someone help me?


    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import...
Results 1 to 15 of 15