Should you Build Java Desktop Apps?

Should you Build Java Desktop Apps?

Should you Build Java Desktop Apps? Short answer about Java: it is for web application development, and Android client development. It never took off for desktop applications.

My popular courses:
Learn web development fast:
Learn Python 3 fast:

My business courses:
Complete Freelancer:
Complete Entrepreneur:

My social links:



#java #javaapplicationdevelopment


  1. Serhii Mamedov on May 2, 2021 at 3:18 am

    WPF vs Electron

  2. Felix Oriedo on May 2, 2021 at 3:23 am

    I still find JavaFX Cool for Desktop, Combine it with Spring Framework + Maven, and build fully working desktop Apps in hours

  3. Jay Jay on May 2, 2021 at 3:26 am

    I’ve no idea why this guy is hating on Java like that. I’ve got my grievances with Java, but non of them are to do with desktop apps. You’ve admitted you haven’t used Java for desktop for a long time. Things have changed. Try JavaFX and you’ll see.

  4. HLEET on May 2, 2021 at 3:27 am

    Go WEB, why would you do a "desktop" app for each system Android/IOS/Windows (all version)/Linux/Macos ? WEB-app is the only answer nowadays !
    Thus if you need to make a oracle connection with a client installed on each machine/client, it might cost you (or entreprise) money for licencing :/. You won’t have that problem with a webApps as the connection to database is done via the server with usualy a JDBC connection.

  5. DevDungeon on May 2, 2021 at 3:28 am

    Java desktop stuff is heavily used in enterprise, government, and military. NetBeans RCP for example is used heavily there. I really like Java for cross-platform multimedia, GUI, audio, desktop apps, etc. Java wins there.

  6. newtonsecondlaw on May 2, 2021 at 3:29 am

    I think java is robust for education.
    People always want to code without too much unknown knowledge.

  7. NotEvenHere on May 2, 2021 at 3:31 am

    I agree. Java desktop is finished; no one is commited to fixing or maintaining these APIs anymore. If you’re learning Java, then you need to be learning server frameworks. IMHO, math, C/C++, Intel/ARM coding (along with whatever APIs you like) should be the first priority of any serious developer. After that, the rest is just gravy. Note the first in this list: math is everywhere now, and most optimisations will involve significant factoring of some kind or another. If you’re thinking of going down the graphics or AI route, then read those math books twice.

  8. Tomas Dimayuga on May 2, 2021 at 3:32 am

    what about electron? heard about it but never really done a research for it.

  9. Michael Pujos on May 2, 2021 at 3:32 am

    There are quite a bit of large Java GUI programs out there using either Swing or JavaFX, but you do not know they exist because they are specialized tools in the industry: aerospace, finance, etc. So yes it exists but less marketable than web UI skills currently the hot thing attracting every individual that heard about learn to code because why not.

  10. fx027 on May 2, 2021 at 3:32 am

    Hahaha… a bit late for April fools

  11. Jubo Raj on May 2, 2021 at 3:33 am

    Sir, greetings – do you consider PHP for desktop apps

  12. t x on May 2, 2021 at 3:34 am

    i personally have this thing in programming where the big technologies people tell me to use sometimes feel too much like im just using software and too much layers that i cant program the way i want to for a long time while when i do swing or sfml or processing java or pygame+python libraries which are open source and smaller apis i seem to have fun right out of the gate for me its definately not "what can get me the job first" but what i really enjoy are small apis and learning programming the old school way with old school desktop apps and desktop games that are fun which is the contradictory to what everyone else tells me to do "learn this because its what will get you a job", people tell me to learn nosql when i prefer sql, people tell me to learn react native when i prefer native development people tell me to learn functional programming when i prefer oop people tell me to learn web development when i prefer game,desktop,mobile its such a gripe

  13. TechWizPC on May 2, 2021 at 3:37 am

    What turns me off from Java is its way of handling GUI. I’d just skip Java and work with C# or VB.Net, those are faster to work with. Plotting GUI elements via code isn’t fun. I’d only consider Java if I’ll be making android apps.

  14. Эпик СММ on May 2, 2021 at 3:37 am

    Type script+angular :thumbsup:

  15. Biff Eros on May 2, 2021 at 3:38 am

  16. Aqib Ishaq on May 2, 2021 at 3:39 am

    This guy simply hate java he said java for desktop is dead however javafx is awesome he said java for web is awkward however spring boot is here he will also have same feeling for android 😥

  17. Kha Chaminda on May 2, 2021 at 3:44 am

    If you need to learn java, first you must create java simple desktop application to get understand the java

  18. 이올 on May 2, 2021 at 3:45 am

    The answer is ofc cus my teacher told me too

  19. Isaac Adler on May 2, 2021 at 3:47 am

    would anyone here choose Windows forms (c# desktop) over Java Swing ?
    i use swing and when you know how to use it its amazing

  20. Ryan Spivey on May 2, 2021 at 3:48 am

    Aside from Arthur Vin’s in depth response, I think java desktop development is quick and handy. The actionlistener design is pretty intuitive so it allows you to quickly code out a simple UI for some code you’ve been working on. The swing elements can be a delight when it comes to window sizing & rescale. If you like Java then it just makes sense to use Java for a desktop application, it can be hard to get rid of the distinctive "this was made in Java" aesthetic though. I definitely don’t come across many java desktop dev jobs online though.

  21. GamerBoy13 L on May 2, 2021 at 3:51 am

    I want to make desktop apps like a note taking app like Evernote or something like that. But what do I learn to make that. Iv learned html and css maybe that will help for transitioning. Please help!

  22. Prakash Budhu on May 2, 2021 at 3:51 am

    Java for desktop didn’t go anywhere? Tell that to the medical field we have so many apps that use java, and yea it sucks buggy and slow

  23. Selvakumar Murugesan on May 2, 2021 at 3:52 am

    Electron is best for desktop application.

  24. Saket verma on May 2, 2021 at 3:54 am

    hindustani bhau -> devloper version,,😂😂 indians will understand

  25. Racionator on May 2, 2021 at 3:55 am

    Was looking for local jobs where I live. There are may requests of knowing windows forms c# front end + java backend with mysql or ms sql socket apps? What the frick why no web apps then

  26. C D on May 2, 2021 at 3:56 am

    FXML is a dogs breakfast

  27. JOKER on May 2, 2021 at 3:56 am

    *I appreciate your video!* I want to create the planner app for managing tasks and something more. I’m begginer so I’ll start to do it from scratch. What should I learn the first for it? Basics of JAVA and after make something in Android Studio or something another? Please give me some advice because I’m really inspired by my idea that’s why I wanna learn programming.

    Best wishes.

  28. A B on May 2, 2021 at 3:58 am

    this guy clearly doesn’t know what he’s talking about.

  29. Jaymes on May 2, 2021 at 4:00 am

    javaFX and spring are great but trying to use swing and awt for a project in school felt like hell

  30. Mad Martigan on May 2, 2021 at 4:01 am

    JavaFX is a fine platform for development and highly performant. It provides an application layer instead of just low level components (e.g. Swing). There are plenty of companies hiring JavaFX engineers, too. I just searched 5 popular job boards and found many positions hiring right now. Though of course, web dev jobs are more plentiful, I think you are being way too dismissive of a great piece of technology in JavaFX. The trend right now is to build desktop applications using nested browsers e.g. Electron, but a JavaFX application is much more performant than that.

  31. Mark J on May 2, 2021 at 4:04 am

    I see comments pointing out where Java is mostly used….but why does that matter?? If you are an entry level programmer then chase after what gives you the job….while you could indulge and learn Java (its a great tool to keep in your toolbox)

  32. níкò on May 2, 2021 at 4:04 am

    I built some basic Java with Swing programs in university last year and never want to see it again!

  33. bighand69 on May 2, 2021 at 4:04 am

    Desktop applications on Linux, MS or Apple is going really be aimed at business. Businesses generally at this point do not use mobile applications to run a business.
    You will find that the majority of small businesses still use windows. So if you are looking to develop desktop apps it really needs to be aimed at business software.
    I think the big thing that has not really been targeted for business desktop applications is a cheap easy to use file management system that cannot allow businesses to operate their files.
    Try managing multiple files in business on windows it can become a pain especially trying to find them and having to open multiple files to find what you needed and then having to retitle them is a awful pain only to forget the title later.

  34. Nik Them on May 2, 2021 at 4:04 am

    I hope less people will be working on Java desktop dev from now on, so that there will be less competition for me :p

  35. Sdiri mohamed salah on May 2, 2021 at 4:06 am

    one point that java is for 3 different os.. so one code for all.

  36. Rishabh on May 2, 2021 at 4:06 am

    good video

  37. PiecePaper on May 2, 2021 at 4:07 am

    javafx is pleasenly easy to pick up and you can do cool things with it specially java 15. i would use it if it would be possible to host it on WA

  38. Rogier van Gemert on May 2, 2021 at 4:08 am

    Stef, you are quite wrong.. JavaFX is very nice looking and used QUITE a BIT nowadays (actually it’s starting to become more and more used by bigger apps, especially INHOUSE apps for INTERNAL use). Also it is actually really cross platform in contrast!!! (big plus!)

    C#/ however is used only in windows shops (big microsoft powered companies). Linux, Mac, well, it’s niche there (and you cannot use e.g. wpf)
    Going to mobile as a desktop like programming, is not good advise. Since its not even close to desktop application programming at all. (think about it)

    The future is CROSS platform development, in all means. (including gui development)

    current options enterprise uses:
    Delphi (linux, mac, win support) — contra popular belief, delphi is still a big player there..
    JavaFX or java Swing (linux, mac, win support)
    C++ with QT or wxwidgets (linux, mac, win support)
    c#/ with winforms or wpf (win support only, no, mono doesn’t count in the enterpise) <– windows shops only use this often.

    those are the only enterprise uses today.. for desktop programming.

    for startups and such there are some more options:
    Javascript/nodejs/electron (linux, mac, win support)
    Python with wxpython or pyside/qt (linux, mac, win support)

    all other options are really niche… or not really desktop programming uses…(or in it’s premature stages still)

    True, web is dominating, and desktop programming is getting smaller.. it’s still an important factor of computer use (some apps cannot work well on webtech as for now).
    And To come back to your claim, that java is a missmatch for desktop use.. it’s just not true.

  39. Sul Qad on May 2, 2021 at 4:09 am

    But what about Intellig IDEA which completely compilled on Java?

  40. Alfarouq Alkhayari on May 2, 2021 at 4:10 am

    I build desktop app using php desktop. Amd it works very well

  41. meteor on May 2, 2021 at 4:10 am

    stefan is saying a lot of "beautiful" words, but all these words are pure theory, I’ve watched a few videos on this channel and realized that stefan has no (or very little) practical experience. Not worth watching if you’re going to become a true professional software developer. By the way all JetBrains IDEs are based on Java Swing, and also there are a lot of products based on JavaFX.

  42. ayushi sinha on May 2, 2021 at 4:12 am

    Hey, I’d like to know if java leads to slower processes, what can be used to make desktop application wherein u need to download contents of email and maintain a database

  43. Vladimir Kuryanov on May 2, 2021 at 4:13 am

    It sure helps. Thanks a lot!

  44. Diego Perozo on May 2, 2021 at 4:13 am

    thanks you

  45. Aiden Tumwesigye on May 2, 2021 at 4:13 am

    This is completely wrong analysis. You should do some research on that before the video. Javafx is still very applicable and it’s model is rise to quite interesting platforms like Gluon Mobile and codename one

  46. Patrick TAYLOR on May 2, 2021 at 4:14 am

    Hey Stefan or whomever can answer this!
    What do you suggest for a new cross platform desktop app these days? (besides C++)

  47. Tosca on May 2, 2021 at 4:15 am

    Yo hice una desktop app en javafx, para monitor touch, quedó muy rápida, mostrando grid views

  48. Takezo Miyamoto on May 2, 2021 at 4:15 am

    java is definitely within the top5 most used programming languages around… in europe, f.ex. it’s still number one as far as i know.
    you just go into any online job search site and you will see how popular java is.
    so not sure where you got the idea that there are no jobs for java… maybe it’s a US only thing.

  49. RichardJinny on May 2, 2021 at 4:16 am

    In our company we do have
    some apps written in JavaFX and Vaadin. Not bad!

  50. Phil Marsh on May 2, 2021 at 4:16 am

    What about Qt with C++ for desktop? You get a mature API which has the speed of C++. And you get code that can be compiled for Linux, Windows, and MAC OS.