[sc1.0-cvs] CVS update: /sip-communicator-1-0-draft/src/net/java/sip/communicator/impl/gui/main/

emcho at dev.java.net emcho at dev.java.net
Wed Feb 8 06:05:42 CET 2006


User: emcho   
Date: 2006/02/07 21:05:42

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

File Changes:

Directory: /sip-communicator-1-0-draft/src/net/java/sip/communicator/impl/gui/main/
===================================================================================

File [changed]: CommunicatorMain.java
Url: https://sip-communicator-1-0-draft.dev.java.net/source/browse/sip-communicator-1-0-draft/src/net/java/sip/communicator/impl/gui/main/CommunicatorMain.java?r1=1.10&r2=1.11
Delta lines:  +1 -1
-------------------
--- CommunicatorMain.java	7 Feb 2006 22:41:38 -0000	1.10
+++ CommunicatorMain.java	8 Feb 2006 05:05:40 -0000	1.11
@@ -94,7 +94,7 @@
 
 		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");




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator-1-0-draft.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator-1-0-draft.dev.java.net





More information about the commits mailing list