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.

Are you asking if we use swing/awt, no. Mostly people use Lwjgl. It is a java port of opengl. Many libraries use it, like slick2d, libGDX, etc. I reccomend libGDX, as you can port it to html5 and java (from what I know).

Not really, if you look around here (this forum) you’ll pretty quickly see lots about things like LibGDX, a game development framework. Most of the bigger Java games you see here don’t use Swing, instead they build off of OpenGL for it’s performance, among other things.
We mostly all agree that Swing and such isn’t for games.

I recommend checking out some of the games here, or at least demos. You’ll like what you see I expect.

LWJGL and swing/awt are 2 different things…Swing/AWT are GUI systems that come with Java, while LWJGL is a graphics library that comes with no GUI system (it’s just a graphics library). Also libGDX is already java…you mean porting to html5, ios, android, desktop, ouya.

To answer the original author, Swing and AWT are still both quite usable. AWT is outdated, but Swing is used quite a lot, and so is JavaFX. Aside from the GUI systems provided with Java, TWL provides powerful, customizable GUI while TableLayout provides simplicity and ease-of-use while still providing the same or more functionality as Swing/FX.