if (isShowing()) repaint();
  public void setSelected(boolean selected) throws PropertyVetoException  {    if (selected != isSelected())      {	fireVetoableChange(IS_SELECTED_PROPERTY, selected, isSelected);	if (! selected)	  defaultFocus = getMostRecentFocusOwner();	isSelected = selected;	if (selected)	  restoreSubcomponentFocus();	firePropertyChange(IS_SELECTED_PROPERTY, ! isSelected, isSelected);	if (isSelected)	  fireInternalFrameEvent(InternalFrameEvent.INTERNAL_FRAME_ACTIVATED);	else	  fireInternalFrameEvent(InternalFrameEvent.INTERNAL_FRAME_DEACTIVATED);      }  }