[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to use images in simulations in Java
From: |
Paul E Johnson |
Subject: |
Re: how to use images in simulations in Java |
Date: |
Wed, 24 Oct 2001 13:40:21 -0500 |
"Mamei Marco (NRC/Boston)" wrote:
>
> Hi,
> in the last mail I didn't specify that I am using Java, because up to
> now it was quiet easy to translate between Objective-C code and Java.
>
> In Objective-C you use PixMap class to display small PNG images. But I
> wasn't able to find
> the Java equivalent of that class.
> Any clues? or (even better) code doing it in java ?
>
> Thanks again
> Marco
In June or July, I think, Marcus announced he had added Pixmap support
in Java, so if you get a new Swarm, you can do it.
I have a working example from him in the archive here:
http://lark.cc.ukans.edu/~pauljohn/Swarm/SwarmFaq/WorkingExampleCode/java/TestPixmap.java
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.