int height = this.radioListOriginal.getMinimumSize().height;
// TF:27/11/2009:Changed this to use the passed width
// int width = this.radioListOriginal.getMinimumSize().width;
if (this.radioListPainter == null) {
this.radioListPainter = new RadioList(this.radioListOriginal.getOrientation(), this.radioListOriginal.getCaption().toString());
this.radioListPainter.setWrapSize(this.radioListOriginal.getWrapSize());
this.radioListPainter.setElementList(this.radioListOriginal.getElementList());
this.radioListPainter.setModel(this.radioListOriginal.getModel());
}
this.radioListPainter.setForeground(this.radioListOriginal.getForeground());