Пример #1
0
 /** Builds a BubbleChartGenerator and attaches it as a display in a MASON simulation. */
 public static BubbleChartGenerator buildBubbleChartGenerator(
     GUIState state, String title, String rangeAxisLabel, String domainAxisLabel) {
   BubbleChartGenerator chart = buildBubbleChartGenerator(title, rangeAxisLabel, domainAxisLabel);
   JFrame frame = chart.createFrame();
   frame.setVisible(true);
   frame.pack();
   state.controller.registerFrame(frame);
   return chart;
 }