3 ms·
In my limited experience, it's hard, but in most cases that isn't a problem. JavaFX is powerful, separating layout and styling from code via FXML and their CSS
by consto 9y ago
In my limited experience, it's hard, but in most cases that isn't a problem. JavaFX is powerful, separating layout and styling from code via FXML and their CSS like language. If you want to style the application like a webapp it's a piece of cake, but if you want to style it to look native then you'll have to use stylesheets such as http://www.aerofx.org/ http://www.aerofx.org/
On the otherhand, with Swing all you need to do is add the following line:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
- cpburns2009 9y agoOkay, so for JavaFX you would need a specific style sheet for each OS version provided it doesn't support any theme customization. That's less than ideal, and a step backwards compared to Swing or SWT.
- alphaalpha101 9y agoDo you want it to look different on different platforms? If you do, you need to make it look different on different platforms. That's not a step back.