public void install(JEditorPane c){
  c.addCaretListener(inputAttributeUpdater);
  c.addPropertyChangeListener(inputAttributeUpdater);
  Caret caret=c.getCaret();
  if (caret != null) {
    inputAttributeUpdater.updateInputAttributes(caret.getDot(),caret.getMark(),c);
  }
}

public void install ( JEditorPane c ) { c . addCaretListener ( inputAttributeUpdater ) ; c . addPropertyChangeListener ( inputAttributeUpdater ) ; Caret caret = c . getCaret ( ) ; if ( caret != null ) { inputAttributeUpdater . updateInputAttributes ( caret . getDot ( ) , caret . getMark ( ) , c ) ; } }
called when the kit is being installed into a jeditorpane .
