Can you tell me how to increase the size of the font using System.out.println in java.
Asked
Active
Viewed 1.8k times
2
-
1There's no "font" for `System.out.println`. Are you talking about the output of some console? Like Eclipse? – M A Dec 12 '14 at 12:18
-
You may need to use ncurses instead of System.out, please refer to https://stackoverflow.com/questions/439799/whats-a-good-java-curses-like-library-for-terminal-applications – Mark May 29 '18 at 13:44
4 Answers
5
There is no concept of "font" with System.out
.
Edit the console font settings for whatever application you're using as an output console.

laalto
- 150,114
- 66
- 286
- 303
1
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

Guan Chuan
- 671
- 7
- 9
0
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

John Mikic
- 640
- 6
- 11