I have a GUI and have now problems with a code in the GUI controller.
I did commented it out:
This is the code from the setProfileClient in another classCode:@FXML private void handleBtnSetProfile(ActionEvent event) throws DatingSiteWebServiceException_Exception { DatingSiteClient30.setProfileClient(sessionId, Integer.parseInt(txtLengthProfile.getText()), (ColorHair) cbColorHairProfile.getValue(), (ColorEyes) cbColorEyesProfile.getValue(), taHobbiesProfile.getText(), taDescriptionProfile.getText()); loadProfile(); int length = Integer.parseInt(txtLengthProfile.getText()); /* if (length > 145 && < 215) { { //return true; DatingSiteClient30.setProfileClient(sessionId, Integer.parseInt(txtLengthProfile.getText()), (ColorHair) cbColorHairProfile.getValue(), (ColorEyes) cbColorEyesProfile.getValue(), taHobbiesProfile.getText(), taDescriptionProfile.getText()); lblMeldingen.setText("Uw profiel gegevens zijn gewijzigd."); } else { lblMeldingen.setText("U dient een geldige lengte in te vullen."); } */ lblMeldingen.setText("Uw profiel gegevens zijn gewijzigd."); }
Hope you can help me to find what the problem is.Code:public static Profile setProfileClient(String sessionId, int length, ColorHair colorHair, ColorEyes colorEyes, String hobbies, String description) throws DatingSiteWebServiceException_Exception{ return setProfile(sessionId, length, colorHair, colorEyes, hobbies, description); }
I am a beginner in java programming.
Thank you for your great help.


Reply With Quote
