Results 1 to 3 of 3
  1. #1
    pardhu is offline Member
    Join Date
    Oct 2011
    Rep Power

    Default jdbc with swings

    can we use jdbc in swings ? if yes how. plz explain me........

  2. #2
    jobi is offline Member
    Join Date
    Sep 2011
    Rep Power

    Default Re: jdbc with swings

    Yes. It is possible.

    Class.forName(driver name); // specify the driver
    Connection connection = DriverManager.getConnection(connection url,username,password);

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: jdbc with swings

    Quote Originally Posted by pardhu View Post
    can we use jdbc in swings ? if yes how. plz explain me........
    Yes we can; just because those two frameworks have nothing to do with eachother; e.g. a Swing component doesn't care where a String it has to display came from and jdbc doesn't care what happens to a String (or whatever) it has just fetched from a database.

    kind regards,

    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. jdbc with swings
    By pardhu in forum JDBC
    Replies: 1
    Last Post: 10-22-2011, 05:16 PM
  2. jdbc with swings
    By raghu9198 in forum New To Java
    Replies: 3
    Last Post: 06-24-2009, 10:42 PM
  3. awt and swings
    By masa in forum AWT / Swing
    Replies: 2
    Last Post: 11-24-2008, 08:09 AM
  4. Replies: 0
    Last Post: 04-01-2008, 10:17 AM
  5. Replies: 0
    Last Post: 09-28-2007, 12:56 PM

Posting Permissions

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