I try to search stackoverflow for solution but i can not find any informations..
i have this code
addLabelAndFieldToPanel(bussinesData, detailFields, NOSALARY_EXPECTATION, "" + contact.getIsSalary(), 4, bussinessYPosition, border, constraints, veryShortField);
And i need to change veryshortfield to checkbox i tried to do JCheckBox ... or to make JcheckBox and put variable name into field but it doesnt working..
here is the code for veryshortfield
Dimension veryShortField = new Dimension(100, 20);
idk what i need to do to make it as checkbox.. thank you so much for informations..
Aucun commentaire:
Enregistrer un commentaire