Example usage for java.awt GraphicsEnvironment preferProportionalFonts

List of usage examples for java.awt GraphicsEnvironment preferProportionalFonts

Introduction

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

Prototype

public void preferProportionalFonts() 

Source Link

Document

Indicates a preference for proportional over non-proportional (e.g.

Usage

From source file:Main.java

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

}