Java binary compatibility issue: sun.font.FontManager class became interface

前端 未结 3 1390
我寻月下人不归
我寻月下人不归 2021-01-02 18:35

I am using the Lobo - Java Web Browser library, and it gives me an exception which after some research I determined could be due to the library having been complied against

3条回答
  •  天命终不由人
    2021-01-02 18:52

    javax.swing.text.StyleContext.getDefaultStyleContext.getFont might work for you, across JDK releases.

    See further http://elliotth.blogspot.com.au/2007/04/far-east-asian-fonts-with-java-7-on.html

提交回复
热议问题