Double buffer

I have made a small testapplication where I use my mouse and when it moves triangles will appear…the thing is…it fickers on my screen,

caps.setDoubleBuffer(true) isn’t working, any ideas on why?

thx