From 4e8419d59608b74cbb08bcdb0e4c798ead541089 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Thu, 13 May 2004 22:18:54 +0000 Subject: [PATCH] Cosmetic changes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197601 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop/render/awt/viewer/PreviewDialog.java | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java b/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java index 479b8de04..cee42fb44 100644 --- a/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java +++ b/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java @@ -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")); } } -- 2.39.5