Fix the browse button issue in GenerateJavaForm.