May 29th, 2012, 07:15 AM
create custom component in JavaFX
I'm new at JavaFX, i'm just starting to learn it and I runned into a problem.
I need to create a custom component in JavaFX (using fxml).
Long story short: I have a application for witch I will have a "part" that will be common for most of the "scenes" ("pages"). This part should contain a menu, a logo, some labels, 2-3 buttons, etc., and I should be able to populate some of the labels based on some data. This is why I thought that I better create a custom component and use it on all my pages (scenes). The problem is that I did not found information about creating custom components (I don't need a custom control, a button, label or something like this..., I need a custom component) over the internet.
Could you please tell me if this is possible? I mean is these a way to create custom components using JavaFX?
Could this component act as a controller (set properties, get values ... )?
Can you help me with some documentation?
Thx in advance!
May 29th, 2012, 08:56 AM
Re: create custom component in JavaFX
Click Here to Expand Forum to Full Width