Windows GDI vs. Java Graphics
I never thought I'd be posting in this board, but...
I'm going to be writing some custom software (targeted for windows) which, among other things, needs to display graphs of large data-sets. My preference would be to write this in Java since it would be very quick and easy, however it's looking like some other parts of the app might need to be written in C or C++. This leaves me with two choices:
- Write the app in Java and integrate the C++ parts with JNI.
- Write the whole app in C++.
I'm leaning towards the first option, but I have some beefs with it that I won't bother explaining (not really relevent to the question).
My beef with number 2 brings me to the question in this thread. I know I can build everything very easily in Java, I'm not so sure about using GDI. I don't want to depend on uncommon libs like SDL or Allegro, and I don't want to the software to require things like OpenGL or DX. Thus leaves windows GDI.
Anyone have opinions on GDI for rendering something like a scrollable graph of a large dataset? Anyone have experience with both GDI and Java Graphics care to contrast the two?
(by graph here, i mean a 2D, x vs. y plot of data. By large i mean too big to render all at once, but small enough to fit into memory)
I also need to ability to have interactions with the graph, such as marking points, retreiving data from mouse clicks, etc...