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?
Background info:
Database Name:
Test ( /home/brian/Documents/BaseConnection/Test.odb)
Table Name: Contacts
Any help is appreciated!