MASON-INTEREST-L Archives

April 2006

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Tue, 18 Apr 2006 10:15:38 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
It depends on how far you need to go.  There are several places where  
you'd need a custom GUI:

- You need to replace the Console
- You need to put Display2Ds or Display3Ds in your own JFrame
arrangement
- You need to draw on the Display2D or intercept mouse information
- You're designing your own custom portrayal from scratch
- You're bypassing the portrayal / display mechanism entirely

The first and last bullets are the hardest: but they're all doable.
MASON was intended to be hacked like this from day one, but we wound
up not using that much. However it still should be largely modular
with a function replaced here or there. There are a few gotchas when
it comes to drawing on the screen and interacting with the underlying
console thread, but beyond that it shouldn't be too tough. I'd be
interested in knowing what exactly you need to replace so I can make
sure MASON does the job in this respect.

Sean

On Apr 18, 2006, at 2:14 AM, Hugh Barker wrote:

> Hi all,
> I've been looking at Mason, and it looks like it's a very good
> choice for my project (a krill behaviour simulator for the
> Australian Antarctic Division).
> However, we need to use our own GUI with Mason - is this possible,
> and if so how much work does it involve? Can you point me in the
> direction of the classes I should be examining?
> Cheers,
> Hugh.

ATOM RSS1 RSS2