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: How to code "check button"

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to code "check button"

    Hello,
    I am not sure if this is a right place for my question, but i will be thankful if u answer it.
    I am making desktop application calling "Pharmacy application" in NetBeans. Since I am amateur, this is a simple application, with these functions:
    -log in
    -products
    -product sell
    -product purchase
    -recipes
    ...etc.

    My big problem is to code product sell. The idea is when user type product ID in text area and when he click at check button, he will get information if there is such product in database and he shows him in table (jTable), and if there is not to, it will show the message "There is no product...".
    untitled4.JPG


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: How to code "check button"

    ...what's your question?

    How To Ask Questions The Smart Way

Similar Threads

  1. [SOLVED] "possible loss of precision", except not, code doesn't work, simple question
    By Perd1t1on in forum What's Wrong With My Code?
    Replies: 2
    Last Post: July 24th, 2010, 07:11 PM
  2. password field, with focused "Enter" button
    By chronoz13 in forum Java Swing Tutorials
    Replies: 1
    Last Post: June 13th, 2010, 05:00 PM
  3. Replies: 1
    Last Post: March 31st, 2010, 09:42 PM
  4. "java.lang.NoSuchMethodError: main" and "fatal exception occured."
    By joachim89 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 10th, 2010, 08:35 AM
  5. Replies: 2
    Last Post: October 29th, 2009, 06:13 PM