Open georgesakiki opened 9 years ago
hi dct.eddy que faut il faire pour que le "submit" button marche??
To solve the "electrical engine issue": One of the possible solution, in the lostFocus event of the text field you have to write a code similar to the following: if (txtField.getText().equals("2012") || txtField.getText().equals("2013")){ comboBox.removeItem("Electrical"); }
Pour que le submit button marche, il faut que tu appelles l'evenement qui fonctionne quand tu cliques sur le boutton --> "actionPerformed" et la dessous tu ecris le code convenable, regarde ce qu'on a fait dans le project Real Estate ca va t'aider
hi dct.eddy u say : "electrical engines are available only starting from 2014." i write in my code : if (productionYear = "2013" || "2012"){ engine (!electrical); }
why it's wrong ?