Lobo 0.98.4 does not work any more with Java 1.7.0-ea-b145 because of the reference to sun.font.FontManager.
The following exception occurs:
java.lang.IncompatibleClassChangeError: Found interface sun.font.FontManager, but class was expected
at org.lobobrowser.util.gui.FontFactory.createFont(FontFactory.java:210)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just solved this issue substituting << FontManager.getCompositeFontUIResource(new Font(name, style, size)); >> with << new javax.swing.plaf.FontUIResource(name, style, size); >> in << org.lobobrowser.util.gui.FontFactory.java >> at line 210.
How can I update the cvs tree?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Lobo 0.98.4 does not work any more with Java 1.7.0-ea-b145 because of the reference to sun.font.FontManager.
The following exception occurs:
java.lang.IncompatibleClassChangeError: Found interface sun.font.FontManager, but class was expected
at org.lobobrowser.util.gui.FontFactory.createFont(FontFactory.java:210)
I've just solved this issue substituting << FontManager.getCompositeFontUIResource(new Font(name, style, size)); >> with << new javax.swing.plaf.FontUIResource(name, style, size); >> in << org.lobobrowser.util.gui.FontFactory.java >> at line 210.
How can I update the cvs tree?