Im new to swing, and im trying to develop an aplication. First One im trying to do a new login form.
My Project looks like this:
On connection i have this:
On entity i have this:
On Manager i have this:
Now i just want to use the gui for validate the data that user introduce this action invoking the method ValidaUsuario() on my Manager, ok i want to use the parameters taking from the gui textUsr and txtPwd and validating that exist on database. How i can do that? Thanks for your help.
Maneesh Godbole wrote:Welcome to the Ranch.
Your question is a bit ambiguous. Are you having trouble creating and passing the usuario* object or validating the credentials with the DB?
*Java naming conventions dictate this should be Usuario and not usuario. Same with other classes.
i forgot conventions... but my problem its validate the credentials whit the db, its just beacuse i dont have idea how to do that...