Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are Swing applications used?

Tags:

java

swing

Are Swing applications really used nowadays? I don't find a place where they are used. Is it okay to skip the AWT and Swing package (I learned a bit of the basics though)?

like image 499
arshad Avatar asked Jan 02 '09 16:01

arshad


People also ask

Which application is built by Swing?

Java Swing tutorial is a part of Java Foundation Classes (JFC) that is used to create window-based applications. It is built on the top of AWT (Abstract Windowing Toolkit) API and entirely written in java.

Is Java Swing still used in 2022?

JavaFX new fixes will continue to be supported on Java SE 8 through March 2022 and removed from Java SE 11. Swing and AWT will continue to be supported on Java SE 8 through at least March 2025, and on Java SE 11 (18.9 LTS) through at least September 2026.

What is a Swing application?

The Swing Application Framework (JSR 296) is a Java specification for a simple application framework for Swing applications, with a graphical user interface (GUI) in computer software. It defines infrastructure common to most desktop applications, making Swing applications easier to create.

Is Swing used in web development?

Understanding the concepts involved in Swing can help in understanding the concepts of Java Server Faces. But no, other than in applets, Swing is not used for web development.


1 Answers

If you are writing for the web exclusively, you can probably skip Swing, but otherwise you're absolutely going to run into it. I've never worked on a non-trivial Java app without a Swing GUI.

Also, Swing is one of the better APIs to use. If you use most others, you are going to find them more difficult to use and/or platform incompatible. (If anyone reading this is aware of exceptions to this, please leave comments, I haven't looked for a while and am kind of curious if anything better has become available)

Other JVM languages like JRuby and Jython are often used because of their access to Swing.

like image 115
Bill K Avatar answered Sep 22 '22 08:09

Bill K