Javafx 1.0 alignment and layout

With the JavaFX 1.0 release, I am trying to position some SwingButton instances in the HBox so that they are right aligned. Many tutorials on the net (presumably up to 1.0) talk about layout classes (FlowPanel and others) that don't seem to be in this release. What's the easiest way to achieve this seemingly simple task?

+1


source to share


2 answers


There are two easy ways to build 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/



The second option is to compose your components using JFXBuilder from ReportMill: http://www.reportmill.com/

JFXBuilder is the first true WYSWIG coding tool for JavaFX.

Regards, Mark

0


source


Disclaimer: Haven't tested this, but other parts of the same tutorial work well.



http://java.sun.com/javafx/1/tutorials/ui/layout/index.html

0


source







All Articles