t();         int selectionEnd=this.getTextPane().getSelectionEnd();         int selectionStart=this.getTextPane().getSelectionStart();          Element element=doc.getCharacterElement(selectionStart);         AttributeSet as = element.getAttributes();          String family = StyleConstants.getFontFamily(as);         int fontSize = StyleConstants.getFontSize(as);         boolean isBold=StyleConstants.isBold(as);         boolean isItalic=StyleConstants.isItalic(as);         boolean isUnderlined=StyleConstants.isUnderline(as);          StyleContext context = new StyleContext();         Style style;          this.getTextPane().replaceSelection("");          