Connect graph with Java?

Hi
I am trying to use the function “Graph” with java, I use jlink, but I don’t know how to graph the result

This is an example that “graph” in Mathematica
I wanna do it but using java
[1]: http://community.wolfram.com//c/portal/getImageAttachment?filename=Captura.PNG&userId=954810