[ACCEPTED]-Where are Swing applications used?-swing
If you are writing for the web exclusively, you 13 can probably skip Swing, but otherwise you're 12 absolutely going to run into it. I've never 11 worked on a non-trivial Java app without 10 a Swing GUI.
Also, Swing is one of the better 9 APIs to use. If you use most others, you 8 are going to find them more difficult to 7 use and/or platform incompatible. (If anyone 6 reading this is aware of exceptions to this, please 5 leave comments, I haven't looked for a while 4 and am kind of curious if anything better 3 has become available)
Other JVM languages 2 like JRuby and Jython are often used because 1 of their access to Swing.
You may checkout Swing Sightings.
This website is hosted 3 by SUN and it is dedicated to sw projects 2 that use Swing. There are a lot of projects 1 using Swing ...
Swing is heavily used in business specific 1 (vertical)/internal application development.
Swing applications are used in most cases 6 where a Java app runs on the desktop. Sometimes 5 you don't even know - for example, LimeWire 4 is a Java Swing application.
When learning 3 Swing, you'll find that you will come to 2 know those parts of AWT that are still important, such 1 as Event, LayoutManager, Graphics, Font, Color, etc.
Hmmmm... how about NetBeans? You know, the 1 IDE? It uses Swing.
You should certainly write Swing for desktop 8 Java, only using AWT to the degree that 7 Swing demands it.
I'm sure people can come 6 up with examples of very good Swing apps 5 besides SQL Squirrel and IntelliJ.
I think 4 that RIA technologies like Flex, Silverlight, etc. are 3 ascendant because the web and services are 2 taking mindshare from desktops. It's not 1 just Swing that's losing out.
Whenever you want to write a desktop GUI 5 app for non-Windows OS, you use Swing as 4 the only sane and guaranteed cross-platform 3 GUI framework.
Besides, Swing has a very 2 good design. I recommend to learn it anyways, to 1 make yourself a better programmer.
Check out Filthy Rich Clients. It explains some of the history 3 of AWT and Swing. Swing, being a lightweight 2 alternative (successor) to most of the AWT 1 classes.
Skip AWT and Swing? To jump where? SWT? Web-based 9 development?
In the broader sense, I have 8 a number of Java applications, although 7 I am not too sure if they use Swing or SWT.
- Lot of database tools like SQuirreL SQL Client are written in Java. I think SQuirrel uses stuff from Netbean, which is, of course, Swing based.
- yEd is written in Java, probably Swing.
- A number of P2P softwares are written in Java, including Frostwire (I see no trace of SWT there, but I can just miss it).
And 6 this list is far from exhaustive!
Lol! I 5 forgot to mention the software suite made 4 by the company I work for! It is quite specialized, used 3 by mobile phone companies to monitor health 2 of their network nodes (superficially looks 1 like a spreadsheet). Totally Swing based.
IIRC jEdit is also a Swing app. Quite a popular 1 text editor.
Geertjan Wielenga often blogs about applications 28 based on the NetBeans platform, and therefore 27 Swing. The applications range across the 26 board from rather small esoteric applications 25 to very large, mission-critical systems 24 (Boeing Aircraft comes to mind). Many of 23 the enterprise-level applications that Geertjan 22 misses are mentioned on Planet NetBeans. It seems like 21 every few weeks there is an announcement 20 or description of such a program.
As noted 19 above, lots of tools use Swing including 18 the IntelliJ IDEA IDE, a favorite. I'm surprised no one 17 else mentioned it.
Sun also used to maintain 16 a Swing Sightings web site, but it hasn't been updated 15 in a few years.
Where I work, Swing is used 14 in the presentation layer for a very large 13 document management system. In my own development 12 experience I've used Swing for desktop applications 11 in the areas of image processing, device 10 control (video, motors, etc.), math, statistics, and 9 medical devices.
BTW, I agree about the slowness 8 of file choosers. But there are lots of 7 alternatives that will use the native file 6 chooser. It can just be a bit jarring if 5 the L&F's don't match up very well.
EDIT: Oh, and 4 as others have mentioned, it's very easy 3 to use Swing from other languages on the 2 JVM. With Clojure, for example, it is even 1 easier to use than in Java, in my opinion.
While Swing has some cross-platform look-and-feel 9 deficiencies and it would be nice if it 8 was updated to support generics, it is still 7 well designed and quite usable. I have 6 always been a fan of the sheer amount of 5 customization offered. SWT is nice and 4 is more native, but you give up some power 3 and control with that as well. In addition, it 2 seems simpler to use, which can be a plus, since 1 Swing can be overly complex due to its flexibility.
There is no universal question to whether 10 it is ok to skip something or not. It's 9 a matter of priorities. While Swing has 8 a lot to teach you (and it is too heavily 7 infused with AWT), if you're never going 6 to be writing GUIs you may be better off 5 investing in something else.
Swing, while 4 ugly as hell, is still used in many places. A 3 quick search on "java swing" in Indeed or 2 dice would reveal many jobs and industries 1 that require it.
Are you skipping it for an exam/interview? Besides 4 really good apps like IntelliJ IDEA and 3 NetBeans, there are lots of Swing like frameworks 2 [SWT (Eclipse), GWT etc.] which you can 1 learn faster with Swing knowledge...
You should probably be looking at JavaFX for future 8 work. As the FAQ states,
Sun is not replacing Swing with 7 JavaFX Script. Instead, JavaFX Script makes 6 Swing easier to use.
Using/learning it will 5 give you a very good understanding of the 4 important Swing concepts, and how they fit 3 in with "the future". I haven't 2 used JavaFX yet, but heard very good things 1 about it.
Armitage tool is made in swing , GUI tool 1 of metasploit framework.
More Related questions