I am currently working on a project in java which takes a bunch of seismic data, does a bunch of calculations, and ends up drawing (possibly millions) of lines to an image which is then displayed on screen. I originally did this by Paint()ing using a Graphics2D opject, but this is incredibly slow. It takes up to a few seconds to redisplay when just a few thousand lines are being displayed.
I know opengl is much faster, as I have been doing opengl in c for a few years now. My question is, what would the fastest way to do this line drawing? Would it be jogl? If not, which would be the fastest way to implement this within the standard java api?