FontAwesomeFX 8.15 released

I just released FontAwesomeFX 8.15 coming with support for EmojiOne Font Icons!

FontAwesomeFX 8.15 is available at Bintray.

Additionally this release contains some major fixes:

  • [NEW] Support for 1111 new EmojiOne Font Icons
  • [NEW] Additional IconView constructor taking iconSize
  • [FIXED] Issue #37: Icon resizes on mouse hover when using glyph-size different than 1em
  • [FIXED] Issue #45: Changing fontawesome Icon to rectangular shape at hover its parent button.
  • [FIXED] Issue #46: glyphSize attribute in FXML not considered
FontAwesomeFX 8.15
compile 'de.jensd:fontawesomefx-emojione:2.2.7-2'
compile 'de.jensd:fontawesomefx-fontawesome:4.7.0-5'
compile 'de.jensd:fontawesomefx-icons525:3.0.0-4'
compile 'de.jensd:fontawesomefx-materialdesignfont:1.7.22-4'
compile 'de.jensd:fontawesomefx-materialicons:2.2.0-5'
compile 'de.jensd:fontawesomefx-octicons:4.3.0-5'
compile 'de.jensd:fontawesomefx-weathericons:2.0.10-5'
they are all depending on:
compile 'de.jensd:fontawesomefx-commons:8.15'
optional:
compile 'de.jensd:fontawesomefx-controls:8.15'

Also I updated the FontAwesomeFX GlyphsBrowser in respect to this release!


You can find the FontAwesomeFX bintray package here.
Source code available at Bitbucket
Please report issues here

2 Replies to “FontAwesomeFX 8.15 released”

  1. RodrigoFebruary 28, 2017 at 20:42Reply

    Hi Jens!! nice project. Recently I try to implement it in my gluon application but I’ve had problems.

    This is the way that I used to set de Icon in my button

    Button button1 = new Button(“Button 1”);
    button1.setPrefSize(150, 150);
    button1.setGraphic(new WeatherIconView(WeatherIcon.CLOUDY));

    and this is the error
    Exception in thread “JavaFX Application Thread” java.lang.IllegalStateException: Stage must be showing before making the Dialog visible.
    at com.gluonhq.charm.glisten.control.Dialog.showAndWait(SourceFile:528)
    at com.gluonhq.impl.charm.a.d.c.b(SourceFile:77)
    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    at java.lang.Thread.run(Thread.java:745)
    Exception in thread “main” java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
    Caused by: java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.AbstractMethodError: de.jensd.fx.glyphs.weathericons.WeatherIcon.unicode()Ljava/lang/String;
    at de.jensd.fx.glyphs.GlyphIcon.updateIcon(GlyphIcon.java:177)
    at de.jensd.fx.glyphs.GlyphIcon.lambda$initProperties$2(GlyphIcon.java:75)
    at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:137)
    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
    at javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:105)
    at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
    at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
    at javafx.css.StyleableObjectProperty.set(StyleableObjectProperty.java:82)
    at javafx.beans.property.ObjectProperty.setValue(ObjectProperty.java:69)
    at de.jensd.fx.glyphs.GlyphIcon.setGlyphName(GlyphIcon.java:116)
    at de.jensd.fx.glyphs.GlyphIcon.setIcon(GlyphIcon.java:152)
    at de.jensd.fx.glyphs.GlyphIcon.initProperties(GlyphIcon.java:77)
    at de.jensd.fx.glyphs.GlyphIcon.(GlyphIcon.java:63)
    at de.jensd.fx.glyphs.weathericons.WeatherIconView.(WeatherIconView.java:43)
    at com.gluon_application.views.PrimaryView.(PrimaryView.java:27)
    at com.gluon_application.Gluon_Application.lambda$init$0(Gluon_Application.java:20)
    at com.gluonhq.impl.charm.a.d.a.a(SourceFile:32)
    at com.gluonhq.charm.glisten.application.MobileApplication.a(SourceFile:690)
    at com.gluonhq.charm.glisten.application.MobileApplication.switchView(SourceFile:440)
    at com.gluonhq.charm.glisten.application.MobileApplication.switchView(SourceFile:416)
    at com.gluonhq.charm.glisten.application.MobileApplication.a(SourceFile:251)
    at com.gluonhq.charm.glisten.application.MobileApplication.start(SourceFile:211)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    … 1 more

    I hope you can help me. Regards

  2. Pingback: Java desktop links of the week, March 13 « Jonathan Giles

Leave a Comment