Is Java Swing Deprecated?

I downloaded the Net Beans IDE and created a new desktop. I select it as a Swing application. The IDE has shown that Swing is outdated and will not be supported in the future.

Does this mean that Swing is out of date? And if so, what are the most recent frameworks that can be used to develop desktop applications?

thanks

+4
source share
4 answers

The Swing Application Framework (JSR296) was a project designed to extract common elements for developing applications with Swing. It is safe to use, but is no longer being developed. The official page https://appframework.dev.java.net/ offers a couple of alternatives, including using the netbeans platform itself and, given how mature mature netbeans are, I would like to explore this approach.

The swing itself is great, it will be about the same as Java. Although, saying that desktop Java has never been applied in the same way as other flavors.

+2
source

In NetBeans, the Desktop Application project type is a project based on an external library, which should be a Swing Application Framework (which does things like GUI session state management and resource bundle management), but never matured. Thus, the type of project is out of date.

However, Swing itself (the GUI platform) is β€œcurrent” in the sense that it is the main GUI toolkit that Java has and will continue to have for some time.

+4
source

I think something is wrong with your netbeans. Can you show a screenshot?

Future swing

+1
source

AFAIK Swing is definitely not outdated and will even be improved in JDK7

Maybe you should show us a screenshot, it could be a misunderstanding

0
source

Source: https://habr.com/ru/post/1313734/


All Articles