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 2 of 2

Thread: Using barcode to input data

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Using barcode to input data

    hi i want to intergrate a barcode scanner into my project but when i read the barcode from a word
    document the data is not enterder into the textfield. how do i read a barcode and display the data in a jtextfiel?
    how do i get this data after reading the barcode? thanks


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Using barcode to input data

    What classes and methods do you have for reading the barcode? What do the method(s) return?
    Once you have read the barcode's value into a variable, it should be easy to put that value into a textfield usign the JTextfield's methods.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. How can we read barcode in pdf file?
    By suresh.bellala in forum Member Introductions
    Replies: 3
    Last Post: July 6th, 2012, 04:58 AM
  2. Append data from user input into array
    By brncao in forum Collections and Generics
    Replies: 1
    Last Post: October 11th, 2011, 04:37 AM
  3. HELP PLEASE! How to save and call back user data input.
    By boi_boi in forum What's Wrong With My Code?
    Replies: 4
    Last Post: August 12th, 2011, 02:21 PM
  4. HELP PLEASE! How to save and call back user data input.
    By boi_boi in forum Object Oriented Programming
    Replies: 3
    Last Post: August 12th, 2011, 04:42 AM
  5. Problems with input data
    By Kakashi in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: April 22nd, 2010, 09:24 AM