GeeCON Prague 2014*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes How to use java.awt.Image with HTML? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply locked New topic
Author

How to use java.awt.Image with HTML?

Baps Vakkalagadda
Ranch Hand

Joined: May 25, 2004
Posts: 47
Hi All,

I am developing a java swing application in which i have a java.awt.Image object. This Image object is not taken from a file. It is generated some third party java classes.

My problem is how can I display this Image with dynamically generated HTML (using html tags like <IMG src="..."> in Swing components without writing my image to a file.

Can anyone help me? This is urgent.

Thanks (:confused .
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11465
    
  94

Hi Baps,

This is not a requirement for the SCJD assignment (which is what this forum is for), and since you have the same topic open here in the Swing / JFC / AWT forum, I have closed this thread.

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
GeeCON Prague 2014
 
subject: How to use java.awt.Image with HTML?