Example usage for java.awt GraphicsEnvironment preferLocaleFonts

List of usage examples for java.awt GraphicsEnvironment preferLocaleFonts

Introduction

In this page you can find the example usage for java.awt GraphicsEnvironment preferLocaleFonts.

Prototype

public void preferLocaleFonts() 

Source Link

Document

Indicates a preference for locale-specific fonts in the mapping of logical fonts to physical fonts.

Usage

From source file:Main.java

public static void main(String[] args) {
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    ge.preferLocaleFonts();

}