Results 1 to 2 of 2
  1. #1
    steiger is offline Member
    Join Date
    Sep 2010
    Rep Power

    Default How to Saved the generated Bar code Image in JLabel Properly


    I can generate bar code and display it to a JLabel, the problem is how can I saved it as .jpeg or .gif file for me to insert it database table.

    Hope I can find answer here

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


    Paint it to a BufferedImage and pass the BI to ImageIO$wrote(...)


Similar Threads

  1. Replies: 9
    Last Post: 06-02-2012, 06:04 PM
  2. Properly formatted code
    By Bgreen7887 in forum New To Java
    Replies: 1
    Last Post: 11-22-2010, 05:28 PM
  3. Image not showed properly in struts
    By ganesan in forum Web Frameworks
    Replies: 4
    Last Post: 01-13-2009, 10:21 AM
  4. How to delete pre-generated code?
    By Terentius in forum NetBeans
    Replies: 0
    Last Post: 08-19-2008, 05:02 PM
  5. My code is not working properly ..modify it
    By Shyam Singh in forum New To Java
    Replies: 14
    Last Post: 07-16-2008, 06:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts