Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#69 Honor swing.defaultlaf and swing.installedlafs

open
nobody
5
2012-11-11
2012-11-11
Lukas Jirkovsky
No

The current pdfsam doesn't honor the swing.defaultlaf, nor does it use swing.installedlafs for populating the list of available lafs in the look and feel selector in settings.

This makes using custom look and feel almost impossible. Currently the only working option how to make pdfsam pick up a custom laf is to set it as a default system laf and select an unsupported laf in pdfsam (eg. the Windows look and feel on linux). PDFsam then prints an error that the laf cannot be used and it is started using the default laf as a fallback.

I think UIManager.getInstalledLookAndFeels() can be used to get the list of installed lafs.

Discussion