Copy constructors

Greg Brown greg.x.brown at
Mon Sep 10 04:15:06 PDT 2012

I don't know if there are any plans to add copy constructors, but you might be able to do something similar with includes (e.g. instead of defining your template in a define block, you could define it in an external FXML file and include it where needed).

On Sep 10, 2012, at 6:54 AM, Werner Lehmann <lehmann at> wrote:

> Hi,
> are there any plans to add copy constructors, as hinted on in the FXML
> documentation?
> This would be really cool: I would create templates in an fx:define block. The templates would be copied in code and added e.g. to a VBox, with just a few adjustments. Currently this has to be done in code... which of course also takes away from the intended work-sharing between application developer and GUI designer.
> Rgds
> Werner

More information about the openjfx-dev mailing list