What database engine are you connecting to?
Just copy, paste and compile my code. Is it connecting to the database after you click masuk button?
I want to make the masuk button to be enabled if some of the JTextField are empty. How to do this?
I don't have a database to connect to.
Add a call to the printStackTrace() method in the catch block so the program will print out the full text of the error messages.
What exact code should I use?
Can you give me an example?
Microsoft Access database
Here is the error message: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] '(unkown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides. One more, what about the masuk button and the JOptionPane? Why won't the masuk button get enabled after I click it if any of the JTextField are blank? Why won't Java show JOptionPane if any of the JTextField are blank? Please answer these problems either because I have difficulties to know better about catch.
Please reply. I need to finish this as soon as possible
Yes, I already set it in Vista, how to solve this? Can you tell me step by step in great detail? I do not force you but please reply immediately because I need this to finish my thesis ok?
Please answer this as soon as possible because I want to finish my work as soon as possible.
Post #39 is the error message. Please help me as soon as possible.