Create java image from Jpanel without displaying

From: Moth (no_at_email.here)
Date: 12/02/03


Date: Tue, 02 Dec 2003 21:12:18 GMT

I have a PlotPanel class that extends JPanel which I have used previously to
display charts in swing guis. I now want to display a graph in a jsp page
so I was going to generate the graph and then save it to a jpeg and then
display it in the page.

Is there anyway to create an Image from a JPanel without actually displaying
it in a JFrame first? Can anyone suggest a better way to create a chart
image for servlet/jsp?



Relevant Pages

  • Create java image from Jpanel without displaying
    ... I have a PlotPanel class that extends JPanel which I have used previously to ... display charts in swing guis. ... I now want to display a graph in a jsp page ...
    (comp.lang.java.gui)
  • Re: Create java image from Jpanel without displaying
    ... RChart includes a servlet which does not needs to display any panel: ... > I have a PlotPanel class that extends JPanel which I have used previously to ... I now want to display a graph in a jsp page ...
    (comp.lang.java)
  • Re: Mike: Restating your explanation
    ... and in software scale my data to fit the physical limits of the display ... then as soon as you change the size of the object your graph ... four quadrant graph of course you usually want the opposite of that. ...
    (microsoft.public.vb.general.discussion)
  • Re: Mike: One last explanation, I hope!
    ... and in software scale my data to fit the physical limits of the display ... then as soon as you change the size of the object your graph ... Dim xmin As Single, xmax As Single ... four quadrant graph of course you usually want the opposite of that. ...
    (microsoft.public.vb.general.discussion)
  • RE: Regression results
    ... What I am recording are weekly closes of stocks and the precision displayed ... polynomials, assuming that the x-values themselves are really accurate enough ... Your mention of "the formula provided by the graph" raises another issue: ... the equation and change the numeric format to display scientific notation ...
    (microsoft.public.excel.programming)