aspose file tools
The moose likes Beginning Java and the fly likes Unable to get data from GUI to the database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Unable to get data from GUI to the database

John Pisci
Ranch Hand

Joined: Dec 19, 2008
Posts: 44
Hi Folks, hoping you can help me as I am very confused at the moment as I have read a number of different articles and tried quite a few diiferent methods, but have not got anywhere!

I'm building a simple GUI that sits on a MySQL database to track my wedding guest list...i.e whether they've replied, dietary requirements, whether they are coming all day or to just the evening etc...
Anyway, I've built the majority of the GUI and the database, and got them connected. What I can't do however, is get records inserted into the table (and presumably update and delete records too as I haven't tried doing them yet!) . This is not because of a lack of SQL knowledge, I just don't know how to get the data from the GUI to the database. I've tried a number of different ways (as can be seen in the code)but I don't seems to be getting any nearer.

Below is my code and then the errors I've been getting.

Thanks in advance.



Now the errors:
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56150
    
  13

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Unable to get data from GUI to the database
 
Similar Threads
ItemListener Events
Unable to get data from the GUI to the database
Cannot find symbol...
NullPointerException..
Accessing class in different file