I am planning on making a Java Swing application and was wondering if Swing is still used or if it has been replaced with something else.
Thanks in advance!
Swing is still there and well supported.
Most of the reasons why people hated swing when it first came out are no longer valid simply because of Moores Law, along with improved JVMs. Swing apps no loger feel jerky and unrepsonsive and an accumulation of minor improvements result in a more professional looking GUI.
Its also worth looking at the "groovy/swing" combination for rapid development and prototyping.
For desktop programs, yes, Swing is heavily in use. However there are many alternatives because alot of people think that Swing is heavily verbose and hard to work with. JavaFX is worth taking a look at
Yes. Roughly 1 out of 120 questions on StackOverflow is about Swing.
We still use it. Not everything is a web app, so far there have been some tentative replacements (such as SWT, which eclipse is written in)
SWT has a native layer that wraps the underlying calls to the native windowing layer. It only works for a limited set of platforms and of course requires some third party shared libraries. I would venture to say that there are far fewer SWT apps than Swing apps.
Swing is still in use.... but there is AWT!!
Pros:
Cons:
Pros:
Cons:
More Reading..
Swing is still the preferred way to build heavy-weight, e.g. "Desktop" applications, in Java. If your code is running in a web browser, you will likely use other things. But for freestanding desktop apps, it is quite excellent and in wide use.