Re: [OpenMap Users] Store image

From: Don Dietrick <dietrick@bbn.com>
Date: Sun Mar 14 2004 - 09:46:08 EST

Hi Arun,

On Mar 9, 2004, at 9:13 AM, Trainee AES, (IE10) wrote:

> Yes don,
> I want to create a timer process, coz might be my problem can be
> solved
> using this concept. Can u plz help me to create this process, and one
> more
> thing i am not using image server, simply i extract method to store
> image in
> .jpeg which are defined using menu.

You can use a javax.swing.Timer object as the timer process. You set
it up with the interval you want, and add an ActionListener to it that
gets notified when the timer goes off. You would tell the ImageServer
to create an image from that ActionListener.actionPerformed() method.

I wouldn't use the method that the menus are using. They assume that
the user is looking at the map and can tell when the map is in a state
that is suitable for the stored image. For a automated process, I'd
use an ImageServer that either uses a properties file or gets handed a
Layer[] to use.

- Don

>
> My image is storing coz i defined class in properties file, how can i
> use
> this class to store applet image without using this properties file.
>
> Thanks,
> Arun.
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Sun Mar 14 17:18:08 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT