pics[i].setIcon(new ImageIcon(i < sib.numSprites ? zoomImage( new SpriteEditor.Sprite(sib.getSpriteInfo(i), this).getImage(), 2) : new BufferedImage(1, 1, BufferedImage.TYPE_4BYTE_ABGR)));
if (i < sib.numSprites) { pics[i].setIcon(new ImageIcon(zoomImage( new SpriteEditor.Sprite(sib.getSpriteInfo(i), this) .getImage(), 2))); pics[i].setEnabled(true); } else { pics[i].setIcon(new ImageIcon(new BufferedImage(1, 1, BufferedImage.TYPE_4BYTE_ABGR))); pics[i].setEnabled(false); }
    private void updateImages()    {        for (int i = 0; i < this.pics.length; i++)        {            pics[i].setIcon(new ImageIcon(i < sib.numSprites ? zoomImage(                new SpriteEditor.Sprite(sib.getSpriteInfo(i), this).getImage(),                2) : new BufferedImage(1, 1, BufferedImage.TYPE_4BYTE_ABGR)));        }    }