• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Image Viewer Applet

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello!
i have created an applet which is creating images continuously(after every 0.5sec) at a remote server.

Problem:
Now i want to make another applet which can download that images and display them without Flickering.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So which part is the problem - having the applet download files from a remote server, or displaying them? Which protocol can be used to access the remote server? What do you have so far?
 
Waqas Tariq
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, both parts
1)Reading (or downloading) images from Apache web server through my applet embedded in html page.

2)Displaying images as a continuous stream without flickering. Do i need Buffering? if yes, then tell me about it

Note:
i have make an application in Flash CS3 which continuously(after every 0.5sec) gets images from server.But i didn't find how to control flickering. So, i think i should try applet. what you say ?
take care
Best Wishes..
Waqas Dar
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

1)Reading (or downloading) images from Apache web server through my applet embedded in html page.


Without knowing how the image on the server can be accessed it's impossible to advise how to proceed. If by HTTP, then an InputStream to read the image from can be gotten through new URL("...").getContent().

2)Displaying images as a continuous stream without flickering. Do i need Buffering? if yes, then tell me about it

No explicit buffering is needed, as the image would be created off-screen and then simply be copied on-screen.

i have make an application in Flash CS3 which continuously(after every 0.5sec) gets images from server.But i didn't find how to control flickering. So, i think i should try applet.


It's certainly possible to do this without flickering in an applet, although I suspect that due to network latency you will most likely not get a fresh image every half second. But I would imagine that it's also possible in Flash. Have you investigated flicker-free drawing in the Flash web sites/forums/etc.?
    Bookmark Topic Watch Topic
  • New Topic