BMI Calculator using java swing