* for (int i = 0; i < width * height; i++) { if (i % width == 0)
* System.out.println(); System.out.print(rgbImage[i]); }
*/
// Ahora creamos su imagen
cl.alejo.jcsim.csim.gates.IconImage iconImage = new IconImage();
iconImage.rgbImage = rgbImage;
iconImage.width = width;
iconImage.height = height;
IconGateDescriptor iconGateDesc = (IconGateDescriptor) icon.getGate().getGateDescriptor();
iconGateDesc.iconImage = iconImage;