}
else if ((border != null) && (border instanceof GridTitledBorder)) {
// TF:6/9/07:Added the functionality to use the GridTitledBorder for proper behaviour
GridTitledBorder gridBorder = (GridTitledBorder)border;
gridBorder.setFrameColor(UIutils.forteToJavaColor(color));
c.repaint();
}
else if ((border != null) && (border instanceof TitledBorder))
{
TitledBorder titledBorder = (TitledBorder)border;
Border innerBorder = titledBorder.getBorder();