Results 1 to 3 of 3

Thread: Java: Connect to MySQL Asynchronously

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2008
    Posts
    790

    Java: Connect to MySQL Asynchronously

    I have a VB6 project that connects to a remote MySql database. I connect Asynchronously.

    I like this method because as it's connecting, I have a "Loading" animation display inside a textbox.

    If the connection is successful, then I execute a command.

    If the connection fails, I execute another command.

    I just downloaded Netbeans for Java. I am wondering how I can accomplish what I just described in Java.

    Does anyone have any sources that I can read up on to do what I need?

    I have been searching, but couldn't find what I'm looking for yet. Thank you.

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Java: Connect to MySQL Asynchronously

    You can read this tutorial which is really long, or just use the MySQL driver that comes with Netbeans and read it's help.

    Up to you
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2008
    Posts
    790

    Re: Java: Connect to MySQL Asynchronously

    Thank you.

Posting Permissions

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



Click Here to Expand Forum to Full Width