Question: Maple into Java?

Can someone point me in the direction to integrate a maple file into a java program? I made a maple file that has a variable and will output a final graph after long calculations.. What I want is a nice java app where the user can simply type in the variable they want, and a graph is displayed in a window? Just a general kick in the butt to the direction for documentation about such a process would be great! Thanks!
Please Wait...