Re: Create java image from Jpanel without displaying

From: Jaume (rreport_at_confluencia.net)
Date: 12/04/03


Date: 4 Dec 2003 14:25:27 -0800

RChart includes a servlet which does not needs to display any panel:

http://www.java4less.com/charts_e.htm

"Moth" <no@email.here> wrote in message news:<Se7zb.36702$aT.19778@news-server.bigpond.net.au>...
> 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

  • Servlet being called multiple times from JSP...
    ... and somehow the SubmitPTO servlet is called TWICE! ... gets called twice even though I see the error messages display. ... When I check the log, I can see that the error messages are displayed, ...
    (comp.lang.java.programmer)
  • Re: Simple 2d graphing in web page - where to begin
    ... a time display of the cursor position as it is moved over the image. ... Java noob question: what /type/ of Java would I need? ... would have a server or servlet application that access the database, ... that renders the graphs. ...
    (comp.lang.java.programmer)
  • Transform DOM to TableModel
    ... UrlConnection) and display the data returned by the servlet ... approach for converting a DOM to a TableModel: ...
    (comp.lang.java.programmer)
  • Re: How do you call a servelet from jsp?
    ... > I wrote a servelet that is to display a word document from data directory. ... > public void doPost(HttpServletRequest reqst, ... You're so far off it's almost funny:) You create a servlet, ...
    (comp.lang.java.programmer)
  • Using DataSource object with JNDI
    ... Create a servlet that displays a list of customers (From the customer ... Use the HTML table to organize the display. ... e.g. CustomerBean that has the fields of 'First ... Then return the collection object to the servlet, ...
    (comp.lang.java.databases)