I also hardcoded everything in the database schema like magic cookies, fields length, etc. Except I didn't harcoded the database name, I just harcoded the default database that could be change in the JTextField.
In my networking code, I didn't harcoded the port number.
Good Luck !!!
Jeffry Kristianto Yanuar (
Java Instructor)
SCJP 5.0,
SCJA,
SCJD (UrlyBird 1.3.2)