setDefaultCloseOperation(DISPOSE_ON_CLOSE);
topPanel = new ScatterPlotTopPanel();
add(topPanel, BorderLayout.NORTH);
chart = new ScatterPlotChart(topPanel, peakList);
Border border = BorderFactory.createEtchedBorder(EtchedBorder.RAISED);
chart.setBorder(border);
chart.setBackground(Color.white);
add(chart, BorderLayout.CENTER);