Index: trunk/src/org/openstreetmap/josm/gui/dialogs/FilterTableModel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/FilterTableModel.java	(revision 12388)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/FilterTableModel.java	(revision 12389)
@@ -6,7 +6,4 @@
 import static org.openstreetmap.josm.tools.I18n.trn;
 
-import java.awt.Color;
-import java.awt.Font;
-import java.awt.Graphics;
 import java.awt.Graphics2D;
 import java.util.ArrayList;
@@ -16,6 +13,4 @@
 import java.util.List;
 
-import javax.swing.BorderFactory;
-import javax.swing.JLabel;
 import javax.swing.JOptionPane;
 import javax.swing.table.AbstractTableModel;
@@ -31,4 +26,5 @@
 import org.openstreetmap.josm.data.osm.OsmPrimitive;
 import org.openstreetmap.josm.gui.layer.OsmDataLayer;
+import org.openstreetmap.josm.gui.widgets.OSDLabel;
 import org.openstreetmap.josm.tools.Utils;
 
@@ -424,25 +420,4 @@
 
     /**
-     * On screen display label
-     */
-    private static class OSDLabel extends JLabel {
-        OSDLabel(String text) {
-            super(text);
-            setOpaque(true);
-            setForeground(Color.black);
-            setBackground(new Color(0, 0, 0, 0));
-            setFont(getFont().deriveFont(Font.PLAIN));
-            setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10));
-        }
-
-        @Override
-        public void paintComponent(Graphics g) {
-            g.setColor(new Color(255, 255, 255, 140));
-            g.fillRoundRect(getX(), getY(), getWidth(), getHeight(), 10, 10);
-            super.paintComponent(g);
-        }
-    }
-
-    /**
      * Draws a text on the map display that indicates that filters are active.
      * @param g The graphics to draw that text on.
Index: trunk/src/org/openstreetmap/josm/gui/widgets/OSDLabel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/widgets/OSDLabel.java	(revision 12389)
+++ trunk/src/org/openstreetmap/josm/gui/widgets/OSDLabel.java	(revision 12389)
@@ -0,0 +1,36 @@
+// License: GPL. For details, see LICENSE file.
+package org.openstreetmap.josm.gui.widgets;
+
+import java.awt.Color;
+import java.awt.Font;
+import java.awt.Graphics;
+
+import javax.swing.BorderFactory;
+import javax.swing.JLabel;
+
+/**
+ * On screen display label.
+ * @since 12389 (extracted from FilterTableModel)
+ */
+public class OSDLabel extends JLabel {
+
+    /**
+     * Constructs a new {@code OSDLabel}.
+     * @param text The text to be displayed by the label
+     */
+    public OSDLabel(String text) {
+        super(text);
+        setOpaque(true);
+        setForeground(Color.black);
+        setBackground(new Color(0, 0, 0, 0));
+        setFont(getFont().deriveFont(Font.PLAIN));
+        setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10));
+    }
+
+    @Override
+    public void paintComponent(Graphics g) {
+        g.setColor(new Color(255, 255, 255, 140));
+        g.fillRoundRect(getX(), getY(), getWidth(), getHeight(), 10, 10);
+        super.paintComponent(g);
+    }
+}
