Index: applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaToggleDialog.java
===================================================================
--- applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaToggleDialog.java	(revision 28292)
+++ applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaToggleDialog.java	(revision 28293)
@@ -49,6 +49,6 @@
     }
     final StringProperty wikipediaLang = new StringProperty("wikipedia.lang", LanguageInfo.getJOSMLocaleCode().substring(0, 2));
-    final DefaultListModel<WikipediaEntry> model = new DefaultListModel<WikipediaEntry>();
-    final JList<WikipediaEntry> list = new JList<WikipediaEntry>(model) {
+    final DefaultListModel model = new DefaultListModel();
+    final JList list = new JList(model) {
 
         {
@@ -59,5 +59,5 @@
                     if (e.getClickCount() == 2 && getSelectedValue() != null) {
                         BoundingXYVisitor bbox = new BoundingXYVisitor();
-                        bbox.visit(getSelectedValue().coordinate);
+                        bbox.visit(((WikipediaEntry) getSelectedValue()).coordinate);
                         Main.map.mapView.recalculateCenterScale(bbox);
                     }
@@ -70,5 +70,5 @@
             final int index = locationToIndex(e.getPoint());
             if (index >= 0) {
-                return "<html>" + model.getElementAt(index).description + "</html>";
+                return "<html>" + ((WikipediaEntry) model.getElementAt(index)).description + "</html>";
             } else {
                 return null;
@@ -189,5 +189,5 @@
         public void actionPerformed(ActionEvent e) {
             if (list.getSelectedValue() != null) {
-                String url = list.getSelectedValue().getHrefFromDescription();
+                String url = ((WikipediaEntry) list.getSelectedValue()).getHrefFromDescription();
                 if (url != null) {
                     System.out.println("Wikipedia: opening " + url);
@@ -227,5 +227,5 @@
         public void actionPerformed(ActionEvent e) {
             if (list.getSelectedValue() != null) {
-                Tag tag = list.getSelectedValue().createWikipediaTag();
+                Tag tag = ((WikipediaEntry) list.getSelectedValue()).createWikipediaTag();
                 if (tag != null) {
                     ChangePropertyCommand cmd = new ChangePropertyCommand(
