java 9 compliance

- base64, bytearrtohex, installed fonts, xml sax parser
This commit is contained in:
Jindra Petřík
2021-01-01 01:07:43 +01:00
parent 8e7b8ef98e
commit ca21337d9f
13 changed files with 203 additions and 182 deletions
@@ -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));
}