I study Java to implement a long-term project. When creating a desktop application project on NetBeans, there is a warning that Swing will not be finalized.
Does this mean that new projects on Swing should not start?
What is the best platform to choose for desktop applications?
Features of using these platforms on NetBeans and IDEA (or others)?

3 answers 3

For a long time he was engaged in the development of client applications on Swing (b2b clients, etc.) and came to this conclusion:

  • For corporate applications (client banks, b2b) a bunch of Java + Swing is suitable when the java server application is on the backend.
  • For desktop GUI applications, java is evil.

For example, such cool applets as azureus or personalbrain kill with their monstrosity. That is not to get a lightweight desktop application on Java.

For the time being, I stopped at wxpython + python for less large applications where there are a lot of gui and pure wxwidgets + c ++ for smaller versions, where lightness is important.

Features of using these platforms on NetBeans and IDEA (or others)?

Netbeans with its visual editor is good for visual design, put a form and a code with a mouse, but for serious projects it is more efficient to write manually, and then any ide will do.

  • >> For corporate applications (client banks, b2b), a bunch of Java + Swing is suitable when the java application on the backend is <br /> and why does Swing have anything to do with it? If there is a problem with integration with a particular technology, then Swing has nothing to do with it. - cy6erGn0m
  • I probably just vaguely expressed the idea that the problem is not integration. I mean that in the corporate sector, if you write a certain system with a client on java, then everything is within the technology stack and how much memory the client program eats is not particularly important, the main thing is that everything works clearly. but for ordinary desktop applications it is not suitable for the mass user. - DigitalDemiurge

Created a great solution for creating window applications: JavaFX . Everything is so simplified there that it is pleasant to work with it. Moreover, NetBeans has plug-ins for graphical construction of JavaFX application design.

  • I agree with you, but I read about him that JavaFX application graphics are slowing down - Ildar
  • Well, if you write for old computers. On modern did not notice. Nevertheless, it seems to me that if Oracle created such a new platform, then it will continue to promote it. - Anton Mukhin
  • Well, consider as an option. - Ildar

Does not mean!!! Keep calm! Here was meant Swing Application Platform (JSR-296) - not Swing, a library for creating a graphical user interface in the Java language.

  • Will new applications have a different platform than the JSR-296? Could clarify in more detail. - Ildar
  • SAF (Swing Application Framework) is just a swing based framework, but not swing itself. If you are interested in the whole story with SAF, you can read the details here habrahabr.ru/blogs/java/71561 But don’t worry about the swing, it’s not going anywhere :) - DigitalDemiurge