/** Builds a BoxPlotGenerator and attaches it as a display in a MASON simulation. */ public static BoxPlotGenerator buildBoxPlotGenerator( GUIState state, String title, String rangeAxisLabel) { BoxPlotGenerator chart = buildBoxPlotGenerator(title, rangeAxisLabel); JFrame frame = chart.createFrame(); frame.setVisible(true); frame.pack(); state.controller.registerFrame(frame); return chart; }