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
CLASSPATH=.:/1a/opt64/Mason/mason/jfreechart-1.0.14/lib/jfreechart-1.0.14.jar:/1a/opt64/Mason/mason/:
i tried reversing those and
i figure its got to be a version problem,
could you please send methe classpath you use?
thanks'
-r
[rlr@tasso flockers]$ java FlockersWithUI
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at FlockersWithUI.start(FlockersWithUI.java:52)
at sim.display.Console.startSimulation(Console.java:1432)
at sim.display.Console.pressPause(Console.java:2223)
at sim.display.Console.pressPause(Console.java:2185)
at sim.display.Console$2.actionPerformed(Console.java:303)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:703)
at java.awt.EventQueue.access$000(EventQueue.java:102)
at java.awt.EventQueue$3.run(EventQueue.java:662)
at java.awt.EventQueue$3.run(EventQueue.java:660)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:676)
at java.awt.EventQueue$4.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:673)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
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
http://cscs.umich.edu/~rlr
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
> > http://cscs.umich.edu/~rlr
>
>
>
|