java.awt.Toolkit question
- From: Huub <"v.niekerk at hccnet.nl">
- Date: Tue, 17 Jan 2006 16:35:06 +0100
Hi,
You can use Toolkit.getImage(file) to get pixel data from the specified file and use
Image im = toolkit.getImage(file);
MediaTracker mt.addImage(im, 0);
try
{
mt.waitForID(0);
}
catch(..){}to get it displayed. I've processed the file and want to display the result. Can I do that without saving the file and reading it back in? If yes, how? I've been trying for quite some time now, but all I get is an empty window. Displaying the original file is no problem.
Thanks,
Huub .
- Follow-Ups:
- Re: java.awt.Toolkit question
- From: Roedy Green
- Re: java.awt.Toolkit question
- From: klynn47
- Re: java.awt.Toolkit question
- Prev by Date: Re: Asking help for a java io problem
- Next by Date: Re: java.awt.Toolkit question
- Previous by thread: Asking help for a java io problem
- Next by thread: Re: java.awt.Toolkit question
- Index(es):
Relevant Pages
|