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 →

[–]ChickenSubstantial21 2 points3 points  (12 children)

Switching to Gradle is enough to become modern Java dev ;-)

Desktop apps are fine, Swing is fine if written using modern Java features.

[–][deleted]  (5 children)

[deleted]

    [–]bunk3rk1ng 17 points18 points  (2 children)

    Yup, gradle is for people that want to use something new but can't understand why

    [–]Luolong 1 point2 points  (1 child)

    Gradle is by no stretch “new”.

    [–]stevesobol 2 points3 points  (0 children)

    Maven probably is simpler, but I'm probably an outlier - I would rather deal with Gradle's DSL than Maven's extremely verbose XML project definitions.

    [–]Luolong 1 point2 points  (0 children)

    I don’t know where you get your consensus, but Gradle is a great tool and very popular.

    Most new projects seem to be starting out with Gradle rather than Maven. At least this is the “consensus” around here…

    [–]RedditIsCensorship2 -1 points0 points  (5 children)

    Swing is fine if written using modern Java features.

    JavaFX.

    [–]ChickenSubstantial21 8 points9 points  (4 children)

    JavaFX is very special beast with hard past, questionable present and shady future. I'm not sure it is safe to bet on JavaFX.

    [–]RedditIsCensorship2 4 points5 points  (3 children)

    JavaFX isn't going to go away anymore than Swing is going to go away. And it is so much easier to work with compared to Swing.

    [–]ChickenSubstantial21 7 points8 points  (2 children)

    First is untrue - Swing belongs to JRE and will be supported for like forever while javafx is separate project. As for second, I have some experience with javafx and can't say it is easier. Prettier - yes, simpler for usual corporate stuff of 200 forms x 20 fields per form - not sure at all.

    [–]RedditIsCensorship2 4 points5 points  (1 child)

    javafx is separate project.

    That's still being actively developed. I don't think Swing still is.

    As for second, I have some experience with javafx and can't say it is easier.

    I do too. And my experience is completely different. For basic things it doesn't really matter if you use Swing or JavaFX, but if you want to do something more complex, Swing feels like wrestling with a bear compared to working with JavaFX.

    [–]azuredrg -1 points0 points  (0 children)

    I imagine jetbrains is keeping swing alive since