I would like to know how I would handle pixel operations best in Java. I'm using swing and drawing a rectangle of 1 by 1 pixel is terribly slow. I need to get 60 fps at least, without using too much resources. Would blitting to an image first mean this could be archieved succesfully? Or is it a bad idea in general to do this with Java and do I need to stick to C or another alternative?
I'm in the beginning of writing a raycaster and since openCL, which I'm using, has a wrapper for Java, I prefer working in Java.