How to hide check boxes in java and Scenebuilder
How to hide check boxes in java and Scenebuilder, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
I use eclipse jee photons and scenebuilder. Now I'm trying to hide the scenebuilder check box.
What I want to do: I have a choicebox with two tags: ObservableList labelList = FXCollections. ObservableArrayList ("examlpe01", "example02")
If you select example01, the check box should be visible, but damn it. If the example02 select check box should be visible, it should be able to check it.
This is my code:
Public class categories list {
ObservableList labelList = FXCollections.observableArrayList ("example01", "example02"); @ FXMLprivate TextField name;@FXMLprivate TextField lastName;@FXMLprivate Button saveUser;@FXMLprivate CheckBox adminRights;@FXMLprivate TextField emailAdress;@FXMLprivate TextField password;@FXMLprivate Button userSpeichern;@FXMLprivate MenuButton userDropDown;@FXMLprivate MenuItem adminpage;@FXMLprivate MenuItem example01;@FXMLprivate MenuItem example02;@FXML after reading the above, have you learned how to hide the check boxes in java and Scenebuilder? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!