34

Why is native Java UI development have to be so f*cking hard??

Comments
  • 2
    Swing or jfx?
  • 1
    We had to use JFX for a school project. Kinda sucked but it worked.
  • 5
    @RazorSh4rk should be swing, it really is a pain in the ass
  • 2
    JavaFX is the piece of cake. Use scenebuilder to arrange your component and css to style. I am guessing you are using swing
  • 4
    It's not hard, it is just bad. College will do that to you, it's the "no pain, no gain" applied to development. Suffer young one, you will be rewarded later
  • 0
    @jpichardo nah, its still a lot better than qt imo
  • 1
    I didn't realize how hard Swing was until I started using WPF. It's a whole different world
  • 0
    @pmbenjamin does iT support serial communication? And is it fast?
  • 0
    @ocab19 WPF?
  • 0
    @magusd that's true
  • 0
    @RazorSh4rk jfx 😞
  • 0
    @bobvdvalk lol, jfx is kind of good, try using awt, now thats hell
  • 2
    @pmbenjamin those are all hella sluggish software
  • 0
    @bobvdvalk It's a UI framework for C# on Windows. You write the actual visual elements in XML, which makes it much easier to read and helps you separate the model from the view.
    It's a pleasure to use compared to Swing
  • 0
    @pmbenjamin oh, vs code, i thought the big vs. As much as i love java, i have yet to see a fast java application but why would i use js for desktop when i can use literally anything else
  • 0
    Problem with WPF is it's not cross platform. QT is quite good imo. Simply put if you're a C/C++ dev then use QT, if you are a Java dev use JavaFX or if you know JS very well then use electron.
  • 0
    @ocab19 JavaFX also uses FXML which is quite similar
  • 0
    @pmbenjamin one big +1 for you!
  • 0
    Do people still build UIs in Java??
  • 0
    @pmbenjamin the apps feel sluggish, whether they lag or not. Native electron apps just have that feeling imho
  • 0
    @simeg sadly yes. In Brazil the income declaration and tax statement is fully developed in java. Every year you gotta download the latest version and struggle to use it. There's a whole market on paying people to do that for you. Nightmare.
  • 0
    If you really think Java UI development is hard. Try to make some on C++ with MFC. It is more low level stuff. Also think that your Java VM is also written on C. If you read something really old, you will see how people designed the way all GUI forms should be rendered and work within the multi-Window environment. Draw algorithms etc. So now what part of Gui in Java is so fucking hard... I don't know. You can try Java fx, or something from Microsoft and define gui forms in xml or something.
  • 0
    Use C# instead of Java, if possible... 😉
Add Comment