Added cut() and copy() methods to override JTextPane's methods of same name.

This commit is contained in:
eg3p 2003-06-20 15:27:20 +00:00
parent 149eecc4fb
commit fbb6245fdb

View file

@ -599,6 +599,15 @@ public class DuffPane extends TibetanPane implements FocusListener {
return getTibDoc().getTibetanFontSize();
}
/**
* Overrides JTextComponent.setFont(). This method
* calls setRomanAttributeSet(), otherwise DuffPane
* would ignore calls to setFont().
*/
public void setFont(Font font) {
setRomanAttributeSet(font.getName(), font.getSize());
}
/**
* Changes the default font and font size for
* non-Tibetan (Roman) text entry mode.