Nifty GUI window without window bar

Hello,

Is there any way to create a window in nifty gui which behaves like a normal window, not like a draggable but it doesn't have a window bar? Sorry if my question is already answered somewhere but I couldn't find anything related to my problem. Any hint would be useful.

if your using LWJGL just add this as a VM parameter



-Dorg.lwjgl.opengl.Window.undecorated=true



or set



System.setProperty("org.lwjgl.opengl.Window.undecorated","true");



before the window is created.

You misunderstood me. Sorry, it's my fault. I didn't mean I don't want the  whole game window to have a window bar. I meant I want to make a barless window in-game with nifty gui which looks like a draggable but behaves like the default window in nifty gui.