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

Thread: Get Data From Database MySQL using ComboBox

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Get Data From Database MySQL using ComboBox

    Hi guys,

    I have a question regarding my learning stage in java programming.
    Basically when I run the project, a GUI comes out.
    There is a combobox that I created to get the different names in the database.
    However, when I select any of the names, I would like to check against my selection with the name in the database to display the information of the person selected via the combobox.

    Any help or hints are greatly appreciated!

    Regards,
    Simple


  2. #2
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: Get Data From Database MySQL using ComboBox

    Something like Trail: JDBC(TM) Database Access (The Java™ Tutorials) might be what you need.

    // Json

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

    Default Re: Get Data From Database MySQL using ComboBox

    Solved!

    Thanks

Similar Threads

  1. saving data in persian language in mysql db
    By java_cs in forum JDBC & Databases
    Replies: 2
    Last Post: January 19th, 2011, 12:26 PM
  2. Moving MySql Database from one machine to another machine
    By vaishali in forum JDBC & Databases
    Replies: 5
    Last Post: July 21st, 2010, 01:21 AM
  3. Download File from Mysql database
    By Puk284 in forum Java Servlet
    Replies: 0
    Last Post: April 24th, 2010, 07:43 AM
  4. problems with connection to mysql database
    By thepower in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 20th, 2010, 02:59 AM
  5. Replies: 4
    Last Post: September 19th, 2009, 11:56 PM