1:打开Elcipse
2:点击“Windows”--->点击“Preferences”--->点击“Genneral”--->点击“Appearance”
--->点 击“Colors and Font”--->在右侧框展开“java”文件夹--->双击“Text Font”
3:在弹出窗选择“Courier New”(注:这里可能找不到“Courier New”,点击字体选择框左下角的“显示更多字
体”链接来打开设置字体的控制面板,找到“Courier New”,右键选择“显示”即可激活该字体)
4:选择上一步找到的字体,一路确定即可。