I have a border pane and there are components in its top, left and right side. I want to remove the components of its right side by using id of the borderPane through a mouse event. How do I do that?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Just do
borderPane.setRight(null);