This tutorial highlights the API for displaying the list of font families available in your system using Java. You can get the font families using getAvailableFontFamilyNames() method of the local GraphicsEnvironment. The GraphicsEnvironment class describes the collection of GraphicsDevice objects and Font objects available to a Java(tm) application on a particular platform. Lets look at the example: FontListExample.java Output…