I am trying to set a JFrame I have open to full screen, but I want to get rid of the bar at the top. I want this frame to be able to switch from full screen to windowed mode, and I want it to have the bar in windowed mode, so I can't just create it initially with the setUndecorated method (which I'm sure was your first answers). I have the switching to and from full screen mode working, I just want to get rid of that bar.

Is there a way to just hide that bar, like a hideDecorations method or something?