mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 04:20:51 +00:00
java 9 compliance
- base64, bytearrtohex, installed fonts, xml sax parser
This commit is contained in:
@@ -101,9 +101,10 @@ public class FontPanel extends JPanel {
|
||||
public static ComboBoxModel<FontFace> getFaceModel(FontFamily family) {
|
||||
|
||||
Set<FontFace> faceSet = new TreeSet<>();
|
||||
/*NOT AVAILABLE SINCE JAVA 9+
|
||||
for (Font f : FontTag.getInstalledFontsByFamily().get(family.familyEn).values()) {
|
||||
faceSet.add(new FontFace(f));
|
||||
}
|
||||
}*/
|
||||
|
||||
return new DefaultComboBoxModel<>(new Vector<>(faceSet));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user