Does Java Gaming use Swing?

It might be the industry I work in but I see Java mostly in the web arena. A long time ago maybe some Java apps that used Swing or (awt a long time ago). One of the tutorials here started out with Swing immediately.

In Java game programming, will I be using lots of the Java windowing libraries? I really don’t want to spend tons of time on a dead technology.

Thanks.