让eclipse中代码高亮显示 windows-> preferences-> java-> Editor-> Mark Occurences 打上勾之后选择显示的类型就ok了 cheng http://lovezzy.iteye.com/admin