Change size of font System.out.println

我只是一个虾纸丫 提交于 2019-12-17 14:56:33

问题


Can you tell me how to increase the size of the font using System.out.println in java.


回答1:


There is no concept of "font" with System.out.

Edit the console font settings for whatever application you're using as an output console.




回答2:


You cannot do this through coding as in the font size is based on your console. I assumed you use eclipse to code your java code. So, you can change eclipse console font size here. General > Appearance > Colors and Fonts

Which you can get the source here. http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftasks-consoleAppearance.htm




回答3:


This is a console output. Unfortunately there is no way to do it.




回答4:


There is a way to change fonts for Java output. See details here:

http://mrhaki.blogspot.com/2008/06/change-font-in-output-window-in.html



来源:https://stackoverflow.com/questions/27443510/change-size-of-font-system-out-println

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!