my dog learned polymorphism*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 11404
    
  81

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
 
 
subject: How to use java.awt.Image with HTML?
 
Similar Threads
MathML support in Java Swing application.
how to convert a Image to a RenderedImage
How to use java.awt.Image with HTML?
QTCanvas(Quicktime) & JPanel
Any solutions to support MathML within JEditorPane