You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.kordamp.ikonli.swing.FontIcon.setIconSize(FontIcon.java:92)
at af.AppFrame.<init>(AppFrame.java:15)
...
This is because the font variable in FontIcon is left uninitialized but used in the setIconSize method.
Perhaps the ikon property should be required as a constructor argument?
The text was updated successfully, but these errors were encountered:
Forgetting to set the ikon property but setting the size as in:
leads to:
This is because the
font
variable inFontIcon
is left uninitialized but used in thesetIconSize
method.Perhaps the
ikon
property should be required as a constructor argument?The text was updated successfully, but these errors were encountered: