<div dir="ltr">Hi,<br><div><br></div><div>Given the following code</div><div><br></div><div>        var cb1 = new Label("1");<br>        var cb2 = new 

Label  ("2");<br>        var b1 = new Button("A");<br>        cb1.setGraphic(b1);<br>        b1.setOnAction(e -> {<br>            if (b1.getParent() == cb1) {<br>                // cb1.setGraphic(null);<br>                cb2.setGraphic(b1);<br>            } else {<br>                // cb2.setGraphic(null);<br>                cb1.setGraphic(b1);<br>            }<br>        });<br></div><div><br></div><div>Pressing the first button will move it (the graphic) to the second label, however, pressing it again will not move it back to the first label. It's required to set the graphics to null prior to moving them as in the commented lines. This looks like a bug to me. I would think that when a graphic is moved, it will appear in its new label immediately, like moving a child. Apparently a single node can be the graphics for multiple Labeled nodes, but it will appear only in 1. Is this intentional?</div><div><br></div><div>- Nir</div></div>