GL4Java and setUndecorated(true)

When I try using setUndecorated(true) with an application that has a GL4Java canvas, nothing is drawn to the canvas until I unhide my taskbar and hide it again or alt+tab to another program and back. Is this a bug with GL4Java or something with my program?

Hi,

I use gl4java with setUndecorated and it works. I suggest to check the order of your statements. In my programm I first setUndecorated(true), the change to fullscreen mode and at last I change the display mode.

ciao knudde

It still didn’t work. I guess switching to fullscreen mode forces it to start drawing. Unfortunately the virtual machine doesn’t like my Radeon card so it crashes whenever I try entering fullscreen :(.