With the JavaFX 1.0 release I am trying to layout some SwingButton instances in a HBox such that they are aligned to the right. A lot of the tutorials on the net (admittedly pre 1.0 release) talk about layout classes (FlowPanel et. al) which dont seem to be in this release. Whats the simplest way to achieve this seemingly simple task?
A:
Disclaimer: Haven't tested this, but other parts of the same tutorial works nicely.
Erik Itland
2008-12-11 10:40:37
Theres no ability to control alignment in HBox and VBox
Craig
2008-12-16 13:17:50
A:
There are two simpler ways to layout JavaFX components.
One is to use the JFXtras package which has a layout system (don't call it a manager :)) that is similar to Mig Layout:
http://code.google.com/p/jfxtras/
A second option is to layout your components using JFXBuilder from ReportMill: http://www.reportmill.com/
JFXBuilder is the first true WYSWIG coding tool for JavaFX.
Regards, Mark
Mark Wilcox
2008-12-30 21:45:17