[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Raster bigger than monitor screen???
From: |
Paul E Johnson |
Subject: |
Re: Raster bigger than monitor screen??? |
Date: |
Fri, 02 Nov 2001 14:14:30 -0600 |
"Marcus G. Daniels" wrote:
>
> MM> What if my "world" (i.e. raster) is bigger than my monitor screen? is
> MM> it possible to add scroll-bar to the raster?
>
> I'd say take a look at JScrollPane in the Java API documentation and
> implement your raster using standard Java interfaces (not swarm.space).
In case you want a Java class to start from, I have a raster class
written with Swing you could use.
http://lark.cc.ukans.edu/~pauljohn/Swarm/MySwarmCode/SwarmRaster.java
The interface is almost exactly like Swarm's raster class. I used to
have a small demo program that would drive that class around the field a
few times, if you ask me at address@hidden, I'll do some checking for
it.
--
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.