We are developing a physical application, and we would like it to be written in Java, and we also want to use root (root is written in C ++). Root has some interesting graphical capabilities - it can draw very beautiful 3D diagrams, and I think whether these diagrams can be embedded in a Java application.
Is there a way to make C ++ code for drawing like JPanel for example?
Is there a way to pass mouse / keyboard events? - we would like to have some interactivity, for example, rotation of a 3d diagram.
I asked a similar question about embedding a lot of C ++ code (which is not connected with drawing anything) in a Java application (also about the root) here .
source share