selectedCharts[i] = ((Integer)it.next()).intValue();
i++;
}
chartTabs.clear();
}
ChartPickerDialog chartPicker = new ChartPickerDialog((JFrame)this.getRootPane().getParent()
, selectedCharts);
chartPicker.pack();
chartPicker.setVisible(true);
Integer[] chartsToSpawn = chartPicker.getSelectedChartTypes();
for(int i=0; i<chartsToSpawn.length; i++){
chartTabs.addLast(new Integer(chartsToSpawn[i].intValue())); //new Chart(er, new CubeSlicer( (short) 1, (short) 0), chartsToSpawn[i].intValue())
}
refreshQuery();
}