projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
whitespace fixups
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
gui
/
FontComboBox.java
diff --git
a/src/net/pterodactylus/jsite/gui/FontComboBox.java
b/src/net/pterodactylus/jsite/gui/FontComboBox.java
index
12805fc
..
7870a30
100644
(file)
--- 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.
/**
* 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>
*/
* @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;
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();
}
}
fontNames[fontIndex++] = font.getName();
}
}
@@
-62,7
+62,7
@@
public class FontComboBox extends JComboBox {
/**
* The cell renderer for the font name cells.
/**
* The cell renderer for the font name cells.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
private static class FontCellRenderer extends JLabel implements ListCellRenderer {
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
private static class FontCellRenderer extends JLabel implements ListCellRenderer {