title: How can I display a JFreeChart in web browser with Stripes Framework
body: <p>This is the situation:
  My 'metrics.jsp' page submits a couple variables that are needed to create the chart. The 'ProjectActionBean.java' calls down to a few other java classes that create the JFreeChart. I can display the chart in a pop-up but I want it to be displayed in the original browser window. </p>
  
  <pre><code>JFreeChart placeChart = ChartFactory.createBarChart(
                                      "ChartName",
                  "",             //x-axis label
                  "",             //y-axis label
                  dataset,
                  PlotOrientation.VERTICAL,
                  false,          //legend
                  true,           //tooltype
                  false);         //generate urls
          ChartFrame frame = new ChartFrame(name, placeChart);
          frame.pack();
          frame.setVisible(true);
  </code></pre>