I'm trying to define a Toggle Button with an Image (icon) in fxml. It's possible to do that?
I know how to do it in .java
Image image = new Image(getClass().getResourceAsStream("icon.png"));
ToggleButton tb = new ToggleButton ("", new ImageView(image));
But i'm not able to convert it to fxml.
Thanks
Edited by: UnaVezFuiPez on 29-jun-2012 3:35