return null;
}
dialog = new JDialog( parent, resources.getString("plotInformation"), false);
Container contentPane = dialog.getContentPane();
JTabbedPane informationPane = new JTabbedPane();
// Hearder panel
headerPanel = new HeaderPanel();
// Statistic tab
JPanel statistics2 = new JPanel(new BorderLayout());
JPanel statistics = new JPanel();
statistics.setBorder(BorderFactory.createEmptyBorder(0,10,10,10));
statistics.setLayout(new BoxLayout(statistics,BoxLayout.Y_AXIS));
JPanel p1 = new JPanel(new BorderLayout());
JLabel statTitle = new JLabel(resources.getStringValue("plotStatistics"));
statTitle.setFont(new Font("Dialog", Font.PLAIN,18));
p1.add(statTitle, BorderLayout.WEST);
statistics.add(p1);
statistics.add(createGlobalStatisticPanel());
statistics.add(createCurveStatisticsPanel());
statistics2.add(statistics, BorderLayout.NORTH);
informationPane.addTab(resources.getString("plotStatistics"),
new JScrollPane(statistics2, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ));
contentPane.add(headerPanel, BorderLayout.NORTH);
contentPane.add(informationPane, BorderLayout.CENTER);