Sender: |
|
Date: |
Tue, 18 Apr 2006 10:15:38 -0400 |
MIME-version: |
1.0 (Apple Message framework v749.3) |
Reply-To: |
|
Content-type: |
text/plain; charset=US-ASCII; delsp=yes; format=flowed |
Subject: |
|
From: |
|
In-Reply-To: |
|
Content-transfer-encoding: |
7bit |
Comments: |
|
Parts/Attachments: |
|
|
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.
|
|
|