is java swing still used?
Swing is still used heavily, and will continue to be for a long while -- after all, it was the only choice for Java for a loooong time. ... Heck, you will sometimes marry Swing objects into your JavaFX application. I would not bother with learning AWT, if you learn Swing, you are learning AWT for the most part.