Is it really needed to swap the buffers.
I'm pretty sure that you need to call this if you are using double buffering.
Also, i enabled smooth on polygons, lines and points to get antialiasing but without any results.
Not very many graphics cards support this anymore. The best way to get antialaising is to use supersampling by passing a value greater than 1 (I think) of samples to the PixelFormat of the Display.create().