Registration form in java swing with database