String[] tempTrimmed = new String[trimmedLabels.length + 1]; System.arraycopy(trimmedLabels, 0, tempTrimmed, 0, index); System.arraycopy(trimmedLabels, index, tempTrimmed, index + 1, trimmedLabels.length - index); trimmedLabels = tempTrimmed;
void insertColumn(TableColumn column) {		Vector data = getDataLabels();	Vector images = getImages();	String stringData[];	Image imageData[];	int index = column.getIndex();	if (index < data.size()) {		data.insertElementAt(null, index);	}	else {		data.addElement(null);	}	stringData = new String[data.size()];	data.copyInto(stringData);	setText(stringData);	if (index < images.size()) {			images.insertElementAt(null, index);	}	else {		images.addElement(null);	}	imageData = new Image[images.size()];	images.copyInto(imageData);	setImage(imageData);}