/** Creates new form JPanelCurve */
public JPanelCurve(JDialogEditCurves jdec, Curve curve, ImageIcon[] iconPoints,
String[] textPoints, ImageIcon[] iconLines, String[] textLines) {
initComponents();
this.jdec = jdec;
Tableur sheet = SpreadSheets.getInstance().getActiveSheet();
jcbName.setModel(new javax.swing.DefaultComboBoxModel(sheet.donneTableauDeNoms()));
jcbPosition.setModel(new javax.swing.DefaultComboBoxModel(Position.getVerticalPositionArray()));
jcbPoints.setAllItems(iconPoints, textPoints);
jcbLines.setAllItems(iconLines, textLines);
for (int i = 0; i < 10; i++){
jcbPointSize.addItem(new Integer(i));