java.awt.Graphics in Java Stored Procedure
395032Feb 25 2004 — edited Mar 22 2004Hi people,
I've written a great bit of code that generates a JPEG image from some bits of data. It does this by getting a Graphics context and uses the drawXXX methods to plot out the image. The graphics context is then written using the JPEGEncoder to generate the JPEG byte stream.
At no time does anything actually get written to the screen, the Graphics class is just used to plot the image in memory before it is exported. So why does the Oracle JVM not have the Graphics class in it? I thought it was supposed to be 1.3 compliant.
I am also guessing that if I get past this that the com.sun.image.codec.jpeg package is also missing from the JVM.
Any suggestions to get round this? I don't really want to have a separate JVM that I communicate with (using TCP/IP etc.).
Thanks in advance
James Hayward