这是由于JCreator语法文件的问题,修改一下它的语法文件java.syn,把其中的
<extcommentstart>//</extcommentstart>
<extcommentend>//</extcommentend>
<extcommentstart2>//</extcommentstart2>
<extcommentend2>//</extcommentend2>
<commentstart>//</commentstart>
<commentend>//</commentend>
<stringstart>&quot;</stringstart>
<stringend>&quot;</stringend>
<charstart>&quot;</charstart>
<charend>&quot;</charend>
改成下面这样
<extcommentstart/>
<extcommentend/>
<extcommentstart2/>
<extcommentend2/>
<commentstart/>
<commentend/>
<stringstart/>
<stringend/>
<charstart/>
<charend/>
这样就可以正确显示中文了,但是由于语法文件被改变所以改完以后程序中的注释和字符串的颜色就不如以前顺眼了,呵呵,不过不影响使用,真不懂为什么要用XML格式的语法设置文件,以前2.5那样不是很好嘛!