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.

Results 1 to 4 of 4

Thread: java coding help

  1. #1
    Junior Member
    Join Date
    Sep 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java coding help

    i want know what are the codes for generate and recognize barcodes in java netbeans using barcode scanner??and i want to how to do it. i have no idea about it.i m still student. i m doing billing system project and i want to add barcode scanner.help me please.


  2. #2
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: java coding help

    Google!
    Improving the world one idiot at a time!

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: java coding help

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

  4. #4
    Member jdv's Avatar
    Join Date
    Jul 2014
    Location
    This Land
    Posts
    73
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default Re: java coding help

    Quote Originally Posted by limesh View Post
    i want know what are the codes for generate and recognize barcodes in java netbeans using barcode scanner??and i want to how to do it. i have no idea about it.i m still student. i m doing billing system project and i want to add barcode scanner.help me please.
    This is not a small project. You need to sort out what your requirements are, and what the scope is. e.g.:

    - How will you be reading and storing the barcode information? What hardware? Where will the raw or cooked data be stored?
    - What sort of barcodes are you going to support (there are many different sorts of barcodes and barcode encodings)
    - What do you intend to do with the barcode info once scanned and/or stored?

    Then you need to break the project down into problem domains:

    - How will you be interfacing with the hardware? Do you have to write the hardware interface layer, or can you borrow or buy it? Can you get a demo working cheaply? (Can you just use a webcam to test, for example?)
    - Are you going to have to write, borrow, or buy the various supported barcode encoding libraries/APIs?
    - Who is the intended target audience? Are you writing an API intended to be leveraged by OEMs, or are you writing a complete turnkey system?

    As you can see, very little of the upfront work has anything to do with Java, or even (directly) computer programming.

    You would be better off scaling down and cooking up a demo: use a webcam to take photos of barcodes, and write some minimal code that reads those JPEGs of some specific sorts of barcodes you can find free Java library support for, and see if you can decode that to a human-readable string.

    Unless you really know how to interface with the parallel or serial barcode reader you have in your possession, in which case substitute it for the webcam example.

  5. The Following User Says Thank You to jdv For This Useful Post:

    GregBrannon (September 12th, 2014)

Similar Threads

  1. Java Coding
    By ManualMist in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 18th, 2013, 06:20 AM
  2. java coding
    By tn sankar in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 16th, 2013, 06:04 AM
  3. Need help with Java Coding
    By BionicBunny in forum Java Theory & Questions
    Replies: 5
    Last Post: November 30th, 2012, 11:08 AM
  4. Replies: 2
    Last Post: February 19th, 2012, 07:36 AM
  5. Java coding help
    By Javalover1 in forum The Cafe
    Replies: 0
    Last Post: April 12th, 2010, 08:11 PM