Thank you

On Tue, Aug 4, 2015 at 3:31 PM Sean Luke <[log in to unmask]> wrote:
On Aug 4, 2015, at 12:31 PM, Ernesto Carrella <[log in to unmask]> wrote:

> Where in the code does MASON check if the JFreeChart library is available?

In sim.portrayal.inspector.PropertyInspector.java.

In the following code, notice the commented out errors.  If you uncomment them and rebuild PropertyInspector.java, it'll generate lots of errors on trying to load non-existent JFreeChart classes.

            try
                {
                _theClass = Class.forName((String)(classes.objs[x]), true, Thread.currentThread().getContextClassLoader());
                }
            catch (ClassNotFoundException error)
                {
                //error.printStackTrace();  // fail silently, it's annoying
                continue;  // no class, can't make menu
                }
            catch (NoClassDefFoundError error) // why does this even exist?
                {
                //error.printStackTrace();  // fail silently, it's annoying
                continue;  // no class, can't make menu
                }