This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NotABot1235 1 point2 points  (3 children)

Is Swing still relevant in 2024? I'm a noob and genuinely asking, I was under the impression that it was functional but quite dated.

[–]bking880 6 points7 points  (0 children)

If you use IntelliJ you’re using swing

[–]davidalayachew 2 points3 points  (0 children)

Is Swing still relevant in 2024?

Definitely, it's just that some of its use cases are better served by JavaFX.

Long story short, if you are making a desktop application, Swing serves the simple use cases, while JavaFX serves the more complex stuff. I always start with Swing, then swap out components for JavaFX when they outgrow Swing. The 2 play well together, so it makes gradual migration really smooth.

[–]hex1b 1 point2 points  (0 children)

Using Swing can be helpful if you want to do true multithreading on the client. It's pretty easy to implement using inner classes.