Anatomy of a Java Font Object In Java, fonts are represented by instances of the java.awt.Font class. A Font object comprises three parts: a font name (e.g. serif), style identifier (e.g. bold) and a point size (e.g. 10).