To access any database Using JDBC follow these steps :
1.Make sure the RDBMS server is up and running correctly.
2.Find out on which port the RDBMS server is .
3.Make sure that the relevant JDBC driver (for you RDBMS ) is present and in class path.
Once these steps are followed write a Java class to access the DB. The steps to be followed in the Class are:
1.Register the JDBC driver for your RDBMS
2.Define URL of database server for your database on the localhost with the relevant port number( default :3306)
save it in a String .
3.Get a connection to the database.
4.Get a Statement object eg:
5.Execute commands on that statement object.
6.Get a ResultSet back
7. Close everything:
Below is a sample ,I am using mySQL database named javatest,
Just saying something doesn't work does not help others to diagnose your problem. Please provide a little more information. If you are getting the date from the database (which you have confirmed how?) then what happens when you try to assign it to the JCalendarCombo? Do you get a compile time error, and if so what? Do you get a runtime exception, and if so what? Does it appear to work but the date is not set correctly in the combo?