Create java image from Jpanel without displaying
From: Moth (no_at_email.here)
Date: 12/02/03
- Next message: Matt: "Unexpected Signal : 10 occurred"
- Previous message: Jéjé: "Re: Q about java arrays"
- Next in thread: Jaume: "Re: Create java image from Jpanel without displaying"
- Reply: Jaume: "Re: Create java image from Jpanel without displaying"
- Reply: hiwa: "Re: Create java image from Jpanel without displaying"
- Reply: FISH: "Re: Create java image from Jpanel without displaying"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Next message: Matt: "Unexpected Signal : 10 occurred"
- Previous message: Jéjé: "Re: Q about java arrays"
- Next in thread: Jaume: "Re: Create java image from Jpanel without displaying"
- Reply: Jaume: "Re: Create java image from Jpanel without displaying"
- Reply: hiwa: "Re: Create java image from Jpanel without displaying"
- Reply: FISH: "Re: Create java image from Jpanel without displaying"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|