Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove particular node in border pane in javafx

Tags:

java

javafx-2

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?

like image 494
oldvipera Avatar asked Jan 02 '14 12:01

oldvipera


1 Answers

Just do

borderPane.setRight(null);
like image 97
James_D Avatar answered Sep 28 '22 16:09

James_D