March 2013


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

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

Print Reply
Rick Riolo <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Thu, 28 Mar 2013 17:45:55 -0400
text/plain (5 kB) , text/html (9 kB) , (22 kB)
hi sean,
i'll have to look back to see what i sent..thats what happens when one
rushes is the'
middel of then night.

i put that file  you sen t into flockers and iit compiled fine, started up
seemingly fine,'but when
i clicked the start/pause or step button, it emittted the error below,
i dont know if this is right or wong, but the Displays tab only shows
flockers, no chart.

i'm using mason 16 and i tried jfreechart-1.0.14.jar and .13.
here is one cp i used:
atached is he flockers i am using.'

[rlr@tasso flockers]$ export

i tried reversing those and
i figure its got to be a version problem,

could you please send methe classpath you use?


[rlr@tasso flockers]$ java FlockersWithUI
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at FlockersWithUI.start(
 at sim.display.Console.startSimulation(
at sim.display.Console.pressPause(
 at sim.display.Console.pressPause(
at sim.display.Console$2.actionPerformed(
 at javax.swing.AbstractButton.fireActionPerformed(
at javax.swing.DefaultButtonModel.setPressed(
at java.awt.Component.processMouseEvent(
 at javax.swing.JComponent.processMouseEvent(
at java.awt.Component.processEvent(
 at java.awt.Container.processEvent(
at java.awt.Component.dispatchEventImpl(
 at java.awt.Container.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
 at java.awt.LightweightDispatcher.retargetMouseEvent(
at java.awt.LightweightDispatcher.processMouseEvent(
 at java.awt.LightweightDispatcher.dispatchEvent(
at java.awt.Container.dispatchEventImpl(
 at java.awt.Window.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
 at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$000(
 at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
 at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpEvents(
 at java.awt.EventDispatchThread.pumpEvents(

Rick Riolo                           [log in to unmask]
Center for the Study of Complex Systems (CSCS)
317b West Hall
University of Michigan         Ann Arbor MI 48109-1107
Phone: 734 763 3323                  Fax: 734 763 9267

On Thu, Mar 28, 2013 at 10:35 AM, Sean Luke <[log in to unmask]> wrote:

> Rick, I do not see any references to time series or charts in the document
> you attached.  Perhaps you could send me your whole project as a tarball
> (minus MASON proper), and I could look into it.
> I looked back in the archive to try to find what you're referring to
> threadwise, but all I found was a thread called "Creating Charts in Mason
> v15".  Just did some slight hacks to the code the poster had submitted, in
> order to update the code to compile for the current version of MASON.  And
> it seems to work well.  Here's the code: (drop it in to mason/app/flockers)
> Perhaps this might be of use to you.  Note that it's not my code, but it
> seems to work to me.
> On Mar 28, 2013, at 3:57 AM, Rick Riolo wrote:
> > i and some of m  sturfrnts ae tryig to add times series displays
> following
> > the instructions on thehow to page,  we all worked independently, but we
> all ended in the
> > same  placce, wirh complainta about depreated methods and the chart not
> appearing ina thread
> > from 2011, which seemed to end with ni resolution,
> >
> > so, does any oneknow how to make it work?
> > we are using mason 16, jfreechart-1.0.13.jar
> >
> >
> > attached is m y GUI
> >
> > thanks in advance
> >
> >
> > Rick Riolo                           [log in to unmask]
> > Center for the Study of Complex Systems (CSCS)
> > 317b West Hall
> > University of Michigan         Ann Arbor MI 48109-1107
> > Phone: 734 763 3323                  Fax: 734 763 9267
> >