This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

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

Joined: Jan 10, 2002
Posts: 60785

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Don't get me started about those stupid light bulbs.
subject: Unable to get data from GUI to the database
Similar Threads
ItemListener Events
Accessing class in different file
Unable to get data from the GUI to the database
Cannot find symbol...