java - How to make MigLayout 4.2 collaborate with JavaFX 8? -


trying update application java 8, found javafx ui became unusable. there severe validation , repainting issues throughout screens, , suspect miglayout (4.2) culprit, since others seem suffer well: https://code.google.com/p/miglayout/issues/detail?id=6

i have provided running example of issue on github: https://github.com/urskr/miglayout-repaint

it illustrates issue triggered when adding nodes migpane after initial layout computed.

how make 2 of them collaborate java 7/javafx 2? there documented changes in way layouts behave in javafx 8?

edit: have reported corresponding bug javafx, file regression. maybe there no way of making behave correctly.

speaking developers miglayout , javafx, found out there no way make javafx 8 , miglayout 4.2 cooperate.

for moment, solution update miglayout 5.0-snapshot, available in sonatype's snapshot repo.

the reason - far understand - javafx 8 triggers layouts once per pulse, instead of multiple times case in javafx 2.
miglayout 4.2 had validation issue, in scenarios updated screen without updating, although layout grid invalid.
since layouts triggered multiple times per pulse, validation (which happened later in layout pass) used in subsequent layout pass, rendering layout correctly.
switching once-per-pulse behaviour, javafx 8 exposed issue in miglayout, , fixed validating layout prior each layout pass.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -