Introduce DBus support
[lgpl/argeo-commons.git] / swt / rcp / org.argeo.cms.swt.rcp / src / org / argeo / cms / ui / rcp / CmsRcpDisplayFactory.java
index e94825db818c6014f30ea28ebf7be8ff42833884..63a1fd84ebb76ce6dc7f9da3d9d924e807871143 100644 (file)
@@ -5,7 +5,7 @@ import java.lang.System.Logger.Level;
 import java.nio.file.Path;
 
 import org.argeo.api.cms.CmsApp;
-import org.argeo.util.OS;
+import org.argeo.cms.util.OS;
 import org.eclipse.swt.events.DisposeListener;
 import org.eclipse.swt.widgets.Display;
 
@@ -67,7 +67,8 @@ public class CmsRcpDisplayFactory {
                                display = null;
                        } catch (UnsatisfiedLinkError e) {
                                logger.log(Level.ERROR,
-                                               "Cannot load SWT, probably because the OSGi framework has been refresh. Restart the application.",
+                                               "Cannot load SWT, either because the SWT DLLs are no in the java.library.path,"
+                                                               + " or because the OSGi framework has been refreshed." + " Restart the application.",
                                                e);
                        }
                }