Changed path so that it could be accessed through a class loader while running in the OSGI framework

cusax-fix
Emil Ivov 20 years ago
parent b4599a4c8a
commit 39868b85e9

@ -94,7 +94,7 @@ public void setDefaultThemePack(){
try {
SkinLookAndFeel.setSkin(
SkinLookAndFeel.loadThemePackDefinition(new File("src/net/java/sip/communicator/impl/gui/themepacks/aquathemepack/skinlf-themepack.xml").toURL()));
SkinLookAndFeel.loadThemePackDefinition(getClass().getClassLoader().getResource("net/java/sip/communicator/impl/gui/themepacks/aquathemepack/skinlf-themepack.xml")));
UIManager.setLookAndFeel("com.l2fprod.gui.plaf.skin.SkinLookAndFeel");

Loading…
Cancel
Save