show video while applet loading - Java Applet Development

Is it possible to play a video during applet loading? The video format may be swf or flv anything. I can show an animated gif by using param tag. But i want to play a video.
Thanks in advance.
Edited by: akk512 on Jun 10, 2010 4:54 AM 

Not with current applet architecture, no.
But you might be able to do something clever with showing/hiding divs and javascript ...


image dpi

I use Jdeveloper
I use an InputFile component to upload image. when i upload image, i want to get image dpi. the image format can be anythings (jpg, tif, ...)
how can i get it?
Edited by: Habib.Eslami on Oct 14, 2012 12:03 AM 
there are different solutions:

Using jmf to modify frames on the fly from a webcam

After seeing several examples to obtain screenshots from a webcam I tried to use jmf to obtain frames continually from a webcam, and modify the frames individually (using the Graphics2D library) and show the result on a window however I haven't managed to this. Does anybody has an ideia to solve this ?
Edited by: kmarco100 on Oct 9, 2007 4:45 PM 
You need to create a pass-thru codec.
Here's an example
So the webcam videostream will go through your code first, before being displayed.
Any modifications you make to the frame will then get displayed.
You may want to drop the framerate down if you can, eg. 5 frames a second.
Or see at

How to convert images which is not supported by the ImageIO?

I have made one project.
In that i have used some images and render them on some screen.
Now there are many images which is not supported by the ImageIO class bcz its showing me exception like
javax.imageio.IIOException: Unsupported Image Typeso what to do to render this images or can i convert this kind of images to supported images?
is there anything which can render this kind of images.
Edited by: Nitz_09 on May 24, 2010 2:12 AM

Get Applet Coordinates

How is it possible to get the coordinates of an applet in the browser relative to the screen?
Or is it possible to get the applet coordinates in the browser? -> I don't want to set the coordinates in the HTML. The coordinates are dynamical and they change relatively to the browser's size. 
for that you have to code into javascript / css.
I found the solution:
Edited by: burricall on Jul 15, 2010 8:22 AM

To view clear quality video image.....

Hi Folks,
I have created an .java file which capture destop and save it as an .avi video file. its like desktop capturing but when i try to play that video file its play but not able to view text in clear. can any one hep me to capture good and clear with constant size image at capturing and any other help to view that video clearly with each and every text also with mouse viewable..
Thanks in advance !......
Edited by: Rahul_Varma on Jan 14, 2008 7:32 AM