Supress following exception
authortoshihiro <toshihiro>
Fri, 25 May 2007 06:09:32 +0000 (06:09 +0000)
committertoshihiro <toshihiro>
Fri, 25 May 2007 06:09:32 +0000 (06:09 +0000)
>!MESSAGE The image could not be loaded: URLImageDescriptor(bundleentry://16/icons/obj16/frames\frame1.gif)
>!STACK 0
>org.eclipse.jface.resource.DeviceResourceException: Unable to create resource URLImageDescriptor(bundleentry://16/icons/obj16/frames\frame1.gif)

net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/internal/ImageResource.java

index 259085d..04295e8 100644 (file)
@@ -1,10 +1,10 @@
 /**
  * Copyright (c) 2003 IBM Corporation and others.
- * All rights reserved. � This program and the accompanying materials
+ * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Common Public License v1.0
  * which accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/cpl-v10.html
- �*
+ *
  * Contributors:
  *    IBM - Initial API and implementation
  */
@@ -193,8 +193,7 @@ public class ImageResource {
                // busy images
                busyImages = new Image[13];
                for (int i = 0; i < 13; i++) {
-                       registerImage("busy" + i, URL_OBJ + "frames"
-                                       + java.io.File.separator + "frame" + (i + 1) + ".gif");
+                       registerImage("busy" + i, URL_OBJ + "frames/frame" + (i + 1) + ".gif");
                        busyImages[i] = getImage("busy" + i);
                }
        }