private void addTrajectoryPanel(TrajectoryView view, int rangeIndex) {
JPanel trajectoryPanel = trajectoryPanels.get(rangeIndex);
if (trajectoryPanel == null) {
trajectoryPanel = new JPanel();
// trajectoryPanel.setBackground(Color.CYAN);
trajectoryPanel.setLayout(new VerticalFlowLayout());
centerPanel.add(trajectoryPanel);
trajectoryPanels.put(rangeIndex, trajectoryPanel);
}
trajectoryPanel.add(view);
}