Index: applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintAction.java
===================================================================
--- applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintAction.java	(revision 27852)
+++ applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintAction.java	(revision 28367)
@@ -1,23 +1,23 @@
 /*
  *      PrintAction.java
- *      
+ *
  *      Copyright 2011 Kai Pastor
- *      
+ *
  *      This program is free software; you can redistribute it and/or modify
  *      it under the terms of the GNU General Public License as published by
  *      the Free Software Foundation; either version 2 of the License, or
  *      (at your option) any later version.
- *      
+ *
  *      This program is distributed in the hope that it will be useful,
  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  *      GNU General Public License for more details.
- *      
+ *
  *      You should have received a copy of the GNU General Public License
  *      along with this program; if not, write to the Free Software
  *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  *      MA 02110-1301, USA.
- *      
- *      
+ *
+ *
  */
 
@@ -40,11 +40,11 @@
  */
 public class PrintAction extends JosmAction implements Runnable {
-    
+
     /**
      * Create a new PrintAction.
      */
     public PrintAction() {
-        super(tr("Print..."), null, tr("Print the map"), 
-        Shortcut.registerShortcut("print:print", tr("File: {0}", tr("Print...")), 
+        super(tr("Print..."), (String)null, tr("Print the map"),
+        Shortcut.registerShortcut("print:print", tr("File: {0}", tr("Print...")),
 	KeyEvent.VK_P, Shortcut.CTRL),
         true, "print/print", true);
@@ -53,18 +53,20 @@
     /**
      * Trigger the printing dialog.
-     * 
+     *
      * @param e not used.
      */
-    public void actionPerformed(ActionEvent e) {
+    @Override
+	public void actionPerformed(ActionEvent e) {
         // Allow the JOSM GUI to be redrawn before modifying preferences
         SwingUtilities.invokeLater(this);
     }
-    
+
     /**
      * Open the printing dialog
-     * 
+     *
      * This will temporarily modify the mappaint preferences.
      */
-    public void run () {
+    @Override
+	public void run () {
         PrintPlugin.adjustPrefs();
         PrintDialog window = new PrintDialog(Main.main.parent);
