首页 > 解决方案 > Scene builder GUI components do not look the same when I run the project from IntelliJ

问题描述

I am using Scene Builder, IntelliJ and some UI libraries (jfoenix, gluon-charm-glisten, fontawesomefx) to build a JavaFX desktop application, what I am doing is building the scene in the scene builder then saving the .fxml file to my project's directory, in IntelliJ I have added the mentioned libraries above to the external libraries by going to the Project's Settings..etc.

This is what I have built with the Scene builder:

I used Gluon's AutocompleteTextField

enter image description here

and this what I got after I run the project from IntelliJ.

enter image description here

Question: Why is this happening and what are the possible ways of fixing it or avoiding it happening again?

标签: javaintellij-ideascenebuildergluonjfoenix

解决方案


推荐阅读