Index: trunk/src/org/openstreetmap/josm/tools/ImageRequest.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/ImageRequest.java	(revision 4713)
+++ trunk/src/org/openstreetmap/josm/tools/ImageRequest.java	(revision 4714)
@@ -17,5 +17,5 @@
  * or in funky double-brace style
  *
- * ImageIcon icon = new ImageProvider.Request(){{name=imgName; width=100; height=120;}}.get();
+ * ImageIcon icon = new ImageRequest(){{name=imgName; width=100; height=120;}}.get();
  */
 public class ImageRequest {
@@ -30,5 +30,5 @@
     protected int maxHeight = -1;
     protected boolean sanitize;
-    protected boolean required = true;
+    protected boolean optional;
 
     public ImageRequest setDirs(Collection<String> dirs) {
@@ -82,6 +82,6 @@
     }
 
-    public ImageRequest setRequired(boolean required) {
-        this.required = required;
+    public ImageRequest setOptional(boolean optional) {
+        this.optional = optional;
         return this;
     }
@@ -90,5 +90,5 @@
         ImageResource ir = ImageProvider.getIfAvailableImpl(dirs, id, subdir, name, archive);
         if (ir == null) {
-            if (required) {
+            if (!optional) {
                 String ext = name.indexOf('.') != -1 ? "" : ".???";
                 throw new RuntimeException(tr("Fatal: failed to locate image ''{0}''. This is a serious configuration problem. JOSM will stop working.", name + ext));
