# How do I make a Java gave without a JFrame?

I am working on an arcade-like game, and so far, I have been using JFrame. All the action occurs in the JFrame basically.

However, I've noticed that a lot of games that you install on a computer don't have a frame. When you play them on Windows, the game covers the entire screen (the start bar disappears and you can't access any other application on your computer).

I'd like to do that for my game. Is it possible to do so with Java? If so, how would I do this?

• Google Java full screen application. I believe it still uses a J Frame but in full screen mode. – Brendan Sep 15 '12 at 16:30

You can set JFrame to fullscreen with GraphicsDevice.setFullScreenWindow(jframe);. For example:
// Set fullscreen mode with specified resolution