MutableAttributeSet attr = new SimpleAttributeSet();
定义attr为SimpleAttributeSet中MutableAttributeSet的类型
StyleConstants.setFontFamily(attr, m_fontName);
设置字体类型
setAttributeSet(attr);
增加到表格中相当于我们在网页中定义一个<style>.xxx=();</style>
<table class="xxx"/>