If what I am understanding is correct, chart.getPainter() and chart.getView.getPainter() cannot be use since they are EmulGL. Do you have any suggestions on what class or function would be good to use for the Painter?
Also here is the stack trace:
Exception in thread "main" java.lang.NullPointerException
at org.jzy3d.painters.NativeDesktopPainter.glLineWidth(NativeDesktopPainter.java:305)
at
org.jzy3d.primitives.LineStrip.drawLine(LineStrip.java:153)
at org.jzy3d.primitives.LineStrip.draw(LineStrip.java:121)
at org.jzy3d.primitives.Composite.draw(Composite.java:100)
at org.jzy3d.primitives.axis.ContourAxisBox.drawMesh(ContourAxisBox.java:117)
at org.jzy3d.demos.misc.ContourLinesDemo.init(ContourLinesDemo.java:83)