This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm running Netbeans 6.7.1 and am on Ubuntu 9.10. I'm attempting to author my first swing app which displays a form, takes the information, and then writes it to a database (OpenOffice.org Base). I'm a n00b so bear with me, please.
Here's the error message i get at runtime:
Looks like it's complaining about my executeUpdate method. Here's that code:
I know that there's probably better way(s) to do the above, I guess I'm open for suggestions there as well. This is probably the 4th or 5th revision that I've tried and all are unsuccessful . Where/Why am I getting a NullPointerException?
Database Name: Test ( /home/brian/Documents/BaseConnection/Test.odb)
Table Name: Contacts