Home> Java> javaTutorial> body text

How to set font in Java

(*-*)浩
Release: 2020-09-10 13:47:57
Original
19205 people have browsed it

How to set fonts in Java: First click [General] → [Appearance] → [colors and Fonts]; then select the font to be modified in the menu bar; then click [Edit] to modify; finally click [ Apply] to apply, click [ok].

How to set font in Java

#When we use programming tools, we will find that the default font size or style of the tool is not what we like or are accustomed to, and then we can change it.

For example, when using MyEclipse, you can actually use the shortcut keys (Ctrl/-) to increase or decrease the font size, but what should you do if it returns to its original appearance after reopening MyEclipse?

We can make changes from the menu bar so that the next time we open MyEclipse we will not revert to the previous font.

Recommended course:Java tutorial

The first step is to click [Window] → [Preferences] on the menu bar in the upper left corner.

How to set font in Java

The second step, a dialog box will appear, click [General] → [Appearance] → [Colors and Fonts] Select the font you want to modify,

How to set font in Java

##The third step, click [Edit] to modify.

How to set font in Java

Step 4, click [Apply] to apply, and click [ok] to complete.

How to set font in Java

After these are completed, you will find that the font size has changed when you return to the text editing area.

The above is the detailed content of How to set font in Java. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!