X-Git-Url: https://git.pterodactylus.net/?p=jSite2.git;a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fgui%2FFontComboBox.java;h=7870a30e5e0e157dccc11669ead10ce3f78b21aa;hp=12805fc6fddeac4c19cc78ce85729aef8c2966bf;hb=c63257e8cc0ba1a5aca9364b22171abe7279d479;hpb=55be4a9e8373d72a9e1c25a3c8150651bb19679d diff --git a/src/net/pterodactylus/jsite/gui/FontComboBox.java b/src/net/pterodactylus/jsite/gui/FontComboBox.java index 12805fc..7870a30 100644 --- a/src/net/pterodactylus/jsite/gui/FontComboBox.java +++ b/src/net/pterodactylus/jsite/gui/FontComboBox.java @@ -32,7 +32,7 @@ import javax.swing.ListCellRenderer; /** * Combobox that displays a list of all available fonts, showing the name of the * font in the font itself. - * + * * @see GraphicsEnvironment#getAllFonts() * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ @@ -46,7 +46,7 @@ public class FontComboBox extends JComboBox { System.out.println("got " + allFonts.length + " fonts"); fontNames = new String[allFonts.length]; int fontIndex = 0; - for (Font font: allFonts) { + for (Font font : allFonts) { fontNames[fontIndex++] = font.getName(); } } @@ -62,7 +62,7 @@ public class FontComboBox extends JComboBox { /** * The cell renderer for the font name cells. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ private static class FontCellRenderer extends JLabel implements ListCellRenderer {