把字体设置为Courier New 操作步骤:
打开eclipse,“Windows” -> “Preferences” -> “Genneral” -> “Appearance” -> “Colors and Font” -> 在右侧框展开“Basic”–> “Text Font” 点击"Edit" 按钮,在弹出窗选择“Courier New”(注:这里可能没有“Courier New”,点击下方 “显示更多字体” 链接来打开设置字体的控制面板,找到“Courier New”,右键选择“显示”即可激活该字体, 然后就有了,没有你重试一下以上步骤)