javafx - MigPane compatibility with FXML and Scene Builder -
before jump on migpane bandwagon know:
- is possible specify midpane layouts in .fxml file?
- if so: can point me examples?
- is possible use scene builder 2.0 edit .fxml file containing midpane's?
- if so: magic lines have add .fxml?
i have been unable find answers, hint this example (so (1) should "yes").
thanks in advance
4 questions price of one:
1. yes
as pointed out, possible long keep dependencies i.e import of fxml:
<?import org.tbee.javafx.scene.layout.fxml.migpane?> <?import layouttests.migfxml.sample1.*?>
and miglayout , migpane on project.
2. despite of own example, should focus on actual code. please, try both , compile/run them. i.e have fun until understand more.
3. no. scenebuilder doesn't support actual javafx features such including items in combobox not surprising (it tell fxml invalid). don't afraid/scared of editing directly fxml
it's xml javafx specific features.
4. look @ answer question number 1
Comments
Post a Comment