for (int i=0; i<propertyData.length; i++){
JPanel pb= new JPanel(new BorderLayout());
JPanel namePanel= new JPanel(new GridLayout());
propertiesCheckBox[i] = resources.getCheckBox("editable",this);
JLabel p1=new JLabel(propertyData[i].getName());
namePanel.add(propertiesCheckBox[i]);
namePanel.add(p1);
pb.add(namePanel, BorderLayout.NORTH);
// Color properties can be set by canals RGB or by a color mapper
if (propertyData[i].getName().startsWith(propertyDataResources.getString("ColorPropriety"))){
colorCombo=new JComboBox();
colorCombo.addItem(propertyDataResources.getString("RGBcanals"));
colorCombo.addItem(propertyDataResources.getString("ColorMapper"));
colorCombo.setSelectedIndex(colorTransformType);
colorCombo.addItemListener(this);
namePanel.add(colorCombo);
// Manage color with a R, G, B properties
colorDataCopy = propertyDataCopy[i];
colorTablePanel = createPropertyTableDataPanel(propertyData[i], propertyDataCopy[i]);
propertiesTable[i] = colorTablePanel;
// or manage color with a mapper
colorMapperPanel = new ColorMapperPanel(colorMapperManager);
colorPanel = new JPanel(new GridLayout());
if (colorTransformType==COLORMAPER){
colorPanel.add(colorMapperPanel, BorderLayout.NORTH);
}else if (colorTransformType==RGBCANALS){
colorPanel.add(colorTablePanel, BorderLayout.NORTH);