Index: trunk/src/org/openstreetmap/josm/gui/PrimitiveRenderer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/PrimitiveRenderer.java	(revision 18214)
+++ trunk/src/org/openstreetmap/josm/gui/PrimitiveRenderer.java	(revision 18215)
@@ -48,5 +48,5 @@
     public Component getListCellRendererComponent(JList<? extends IPrimitive> list, IPrimitive value, int index,
             boolean isSelected, boolean cellHasFocus) {
-        Component def = defaultListCellRenderer.getListCellRendererComponent(list, null, index, isSelected, cellHasFocus);
+        Component def = defaultListCellRenderer.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
         return renderer(def, value, list.getModel().getSize() > 1000);
     }
Index: trunk/src/org/openstreetmap/josm/gui/SplashScreen.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/SplashScreen.java	(revision 18214)
+++ trunk/src/org/openstreetmap/josm/gui/SplashScreen.java	(revision 18215)
@@ -238,5 +238,5 @@
                 final MeasurableTask task = new MeasurableTask(title);
                 tasks.add(task);
-                listener.stateChanged(null);
+                listener.stateChanged(new ChangeEvent(this));
             }
         }
@@ -267,5 +267,5 @@
             latestSubtask = new SplashProgressMonitor(title, listener);
             tasks.add(latestSubtask);
-            listener.stateChanged(null);
+            listener.stateChanged(new ChangeEvent(this));
         }
 
@@ -300,5 +300,5 @@
             taskOptional.ifPresent(task -> {
                 ((MeasurableTask) task).finish();
-                listener.stateChanged(null);
+                listener.stateChanged(new ChangeEvent(this));
             });
         }
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java	(revision 18214)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java	(revision 18215)
@@ -801,5 +801,5 @@
             focus = addFocusAdapter(autocomplete, DEFAULT_AC_ITEM_COMPARATOR);
             // fire focus event in advance or otherwise the popup list will be too small at first
-            focus.focusGained(null);
+            focus.focusGained(new FocusEvent(this, FocusEvent.FOCUS_GAINED));
 
             addUpdateIconListener();
@@ -974,5 +974,5 @@
                         keys.setSelectedItem(t.getKey());
                         // fix #7951, #8298 - update list of values before setting value (?)
-                        focus.focusGained(null);
+                        focus.focusGained(new FocusEvent(AddTagsDialog.this, FocusEvent.FOCUS_GAINED));
                         values.setSelectedItem(t.getValue());
                         selectValuesCombobox();
Index: trunk/src/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongPanel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongPanel.java	(revision 18214)
+++ trunk/src/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongPanel.java	(revision 18215)
@@ -14,4 +14,5 @@
 import javax.swing.JSpinner;
 import javax.swing.SpinnerNumberModel;
+import javax.swing.event.ChangeEvent;
 import javax.swing.event.ChangeListener;
 
@@ -161,5 +162,5 @@
         cbDownloadGpxData.addChangeListener(listener);
         cbDownloadOsmData.addChangeListener(listener);
-        listener.stateChanged(null);
+        listener.stateChanged(new ChangeEvent(this));
     }
 
