How to add/remove the ChoiceBox, TextField, and Label when clicking on the Add/Remove button in javaFx.

How to add the ChoiceBox, TextField, and Label when clicking on the Add button and how to remove when clicking on the Remove button?

Dec 1 ’19
Comments: 3
Answers: 0
-1

Can you please tell me how to add the ChoiceBox, TextField, and Label when clicking on the Add button and how to remove it when clicking on the Remove button. Under ScrollPane, under GridPane I added the Add button. when I clicked that button ChoiceBox, TextField, and Label should add…

Open Full Question

Can you please tell me how to add the ChoiceBox, TextField, and Label when clicking on the Add button and how to remove it when clicking on the Remove button. Under ScrollPane, under GridPane I added the Add button. when I clicked that button ChoiceBox, TextField, and Label should add below the exiting Field. And Field should remove when clicking on the remove button. Refer this image for clarification

————-Refer StackOverflow————-

Thank in advance.

原文链接:How to add/remove the ChoiceBox, TextField, and Label when clicking on the Add/Remove button in javaFx.

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容