By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,256 Members | 1,700 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,256 IT Pros & Developers. It's quick & easy.

applet as an image source

P: n/a
Hello,

is it posible to use an applet as an image source?

something like
<img src="document.myApplet.getImage()">

when getImage() function in the applet returns a png image as
ByteArrayOutputStream ?

I experimented, but without success.
The idea is to open a new window with applet graphics as png, which
may be easily copied to clipboard.

Tahu

Jun 21 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Lee
bl*******@gmail.com said:
>
Hello,

is it posible to use an applet as an image source?

something like
<img src="document.myApplet.getImage()">
Try: src="javascript:document.myApplet.getImage()"
--

Jun 21 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.