16
Maer
3y

Fuck Java Swing.

Comments
  • 2
    Legacy crap? I can't think of a good reason you'd willingly use it these days.
  • 2
    @rEaL-jAsE Nah, if you *really* need to use Java on the desktop these days (debatable) then JavaFX is generally a much better choice.
  • 0
    @rEaL-jAsE javafx has an interesting idea of how to represent the ui conceptually with Stage and Scene. Tried using it with FXML which was so bad. Was never able to successfully create a UI using the markup file and load an app with it. (Maybe I was just too stupid back then or the project was cursed.) The reference docs (1 website, as far as I remember) for the FXML tags, attributes and explanation was just horrendous. Slap a huge HTML page with barely any styling and have fun!
  • 0
    Not as good as Sultans of Swing, unfortunately.
  • 1
    @cb219 fx has a scene builder which is basically the android studio screen designer, its really intuitive
  • 0
    @yellow-dog when I saw it I was like "oh nice, how handy!" until I actually used it. Poor usability (sry for the devs that had worked on it). After about 30mins tool went into the trash. After that I found out that it was already not supported anymore. Don't know about today.
  • 0
    @yellow-dog we're talking about a standalone program that could produce FXML, right?
  • 0
    @AlmondSauce I mean, kinda. It's legacy in the sense that it has been created 5-6 years ago, but the application is still being developed and maintained - UI included.

    But there is no way in hell anyone is going to prioritize overhauling the entire UI and porting it to another platform. We are understaffed and there are much more important problems to solve. Even I see that, despite deeply hating Swing.
  • 0
    @cb219 uhhhh gluon screen builder i think? I recently used it for a personal project and it worked reasonably well except the no UI scaling
  • 0
    @yellow-dog has it been inproved since like 2018? Or has it just been updated to java 11? Seems like the same it used to be. Different people in the team tried it back then and quickly ditched it again.
Add Comment