Hello everyone. Some help would be appreciated. I have created a wildlife resort database with access.
It has an animals table with 5 entries, a species table with 3 entries and a user table with 3 entries.
I have set up a JDBC-ODBC bridge.
The server side of this application when run gets stuck upon pressing connect the first time so I have to run the server again while the first server window is running in the background and press connect for it to start running. The server works just fine after that. I can add and remove from the tables using the server.
When I run the client and try to connect it. It connects but can't log in. It doesn't accept a username or password. So I can't add or remove tables on the client side of the aplication.
I think the problem is with the threads but I'm not sure what to do to fix it.
Also I use net beans for coding.
I have attached one of the classes i think might have the problem.