2 Replies Latest reply: Aug 14, 2011 8:12 PM by 882277 RSS

    using Fx as a library to create and save image


      I wrote an FX desktop app to create an vector image and saved as png. I would like to use this FX program like a library.
      For example, to use it in glassfish managed bean to generate image and saved to a directory. Can this be done? I am wondering how to call FX, pass in parameters, generate and safe the graph WITHOUT firing up as a desktop app.
      Just want to use FX to create an image in buffer image, save and return me a link to that image. Java calling javxFX to produced the required image.

      I already wrote a working FX. Hopefully it works without having to write another apps to do the job.

      Appreciate any help or advise.