//Creating a variable for the connection called //"con"
Connection con = DriverManager.getConnection("jdbc:mysql://IP_ADDRESS:3306/DATABASE_NAME", "USERNAME", "PASSWORD");
...
If I don't want at least the username and password to be shown in clear text... is there something I can do?
Have them in a file thats encrypted or... I don't know.. something?
Oh, also, how can I encrypt the password they enter before sending it to the database?