]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Cosmetic changes
authorPeter Bernard West <pbwest@apache.org>
Thu, 13 May 2004 22:18:54 +0000 (22:18 +0000)
committerPeter Bernard West <pbwest@apache.org>
Thu, 13 May 2004 22:18:54 +0000 (22:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197601 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java

index 479b8de044f66c1b4008d377784d7f47599f5d89..cee42fb44b1763eb3e3a30287a0e0ffc87228b3f 100644 (file)
@@ -85,35 +85,40 @@ public class PreviewDialog extends JFrame {
         translator = renderer.getTranslator();
 
         //Commands aka Actions
-        Command printAction = new Command(translator.getString("Menu.Print"), "Print") {
+        Command printAction =
+            new Command(translator.getString("Menu.Print"), "Print") {
             public void doit() {
                 print();
             }
         };
-        Command firstPageAction = new Command(translator.getString("Menu.First.page"),
+        Command firstPageAction =
+            new Command(translator.getString("Menu.First.page"),
                                       "firstpg") {
             public void doit() {
                 goToFirstPage();
             }
         };
-        Command previousPageAction = new Command(translator.getString("Menu.Prev.page"),
-                                         "prevpg") {
+        Command previousPageAction =
+            new Command(translator.getString("Menu.Prev.page"), "prevpg") {
             public void doit() {
                 goToPreviousPage();
             }
         };
-        Command nextPageAction = new Command(translator.getString("Menu.Next.page"), "nextpg") {
+        Command nextPageAction =
+            new Command(translator.getString("Menu.Next.page"), "nextpg") {
             public void doit() {
                 goToNextPage();
             }
 
         };
-        Command lastPageAction = new Command(translator.getString("Menu.Last.page"), "lastpg") {
+        Command lastPageAction =
+            new Command(translator.getString("Menu.Last.page"), "lastpg") {
             public void doit() {
                 goToLastPage();
             }
         };
-        Command reloadAction = new Command(translator.getString("Menu.Reload"), "reload") {
+        Command reloadAction =
+            new Command(translator.getString("Menu.Reload"), "reload") {
             public void doit() {
                 reload();
             }
@@ -388,9 +393,9 @@ public class PreviewDialog extends JFrame {
             infoStatus.setText("");
             currentPage = 0;
 
-                // TODO work out how to reload
-                setStatus(translator.getString("Status.Build.FO.tree"));
-                setStatus(translator.getString("Status.Show"));
+            // TODO work out how to reload
+            setStatus(translator.getString("Status.Build.FO.tree"));
+            setStatus(translator.getString("Status.Show"));
         }
     }