Exception 'Cannot load com.apple.laf.AquaLookAndFeel' with JFreeChart in a Web Application

I use JFreeChart in a web application and with Mac OS I got this exception:

Cannot load com.apple.laf.AquaLookAndFeel javax.swing.UIManager.initializeDefaultLAF

Because I don't need any "Look and Feel" related to a JSF application, I set the default Motiv L&F before creating the chart.

try {
} catch (Exception e) {
If your writing an application with Swing, there're some other hints in the web solving this problem.

1 Kommentar:

  1. Thanks a lot! I was already looking for a few hours solving this particular problem when I found your blog entry. You saved me another 6 hours of searching