Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 2 of 2 FirstFirst 12
Results 26 to 29 of 29

Thread: How to capture signature using Canvas and save in png format?

  1. #26
    Junior Member
    Join Date
    Oct 2011
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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 ||
    !SunToolkit.isPostEventQueueEmpty()) {
    theQueue.initDispatchThread();
    }
    AWTAutoShutdown.getInstance().notifyThreadFree(thi s);
    }
    }
    }

    void pumpEvents(Conditional cond) {
    pumpEvents(ANY_EVENT, cond);
    }

    void pumpEventsForHierarchy(Conditional cond, Component modalComponent) {
    pumpEventsForHierarchy(ANY_EVENT, cond, modalComponent);
    }

  2. #27
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,164
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

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

    Where did you get that code? What does it have to do with creating and saving an image to a disk file?

    You are copying too much code that you do not understand into your program.
    You are trying to run before you know how to walk.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #28
    Junior Member
    Join Date
    Oct 2011
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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

  4. #29
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,164
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

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

    You need to start at the beginning to learn how to build a GUI app and use the different java classes. Here is a link to the tutorial. Find an interesting topic and read about it.
    The Really Big Index
    If you don't understand my answer, don't ignore it, ask a question.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. How to save Image into a package by JButton save?
    By justyStepi in forum AWT / Java Swing
    Replies: 1
    Last Post: May 12th, 2012, 07:02 PM
  2. Need help to save Canvas content to a file
    By piulitza in forum AWT / Java Swing
    Replies: 3
    Last Post: December 27th, 2011, 11:20 AM
  3. Why does not forum allow signature?
    By hns1984 in forum The Cafe
    Replies: 0
    Last Post: October 20th, 2011, 11:04 AM
  4. Audio capture (TargetDataLine) latency
    By Pikkurotta in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: April 14th, 2011, 04:20 PM
  5. Call with a different signature
    By brajesh in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 15th, 2010, 02:05 PM