aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/awt/viewer
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-03-03 00:18:45 +0000
committerGlenn Adams <gadams@apache.org>2012-03-03 00:18:45 +0000
commit2ed4c2e0346fe366c48ab12acc987f30c956a784 (patch)
treebb553bb94d374a9e56c61d14152397db189649c3 /src/java/org/apache/fop/render/awt/viewer
parenteff48e4a891b2c8159ac81d13cae4e65e444cce2 (diff)
downloadxmlgraphics-fop-2ed4c2e0346fe366c48ab12acc987f30c956a784.tar.gz
xmlgraphics-fop-2ed4c2e0346fe366c48ab12acc987f30c956a784.zip
enable ImportOrder rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/awt/viewer')
-rw-r--r--src/java/org/apache/fop/render/awt/viewer/Command.java4
-rw-r--r--src/java/org/apache/fop/render/awt/viewer/GoToPageDialog.java5
-rw-r--r--src/java/org/apache/fop/render/awt/viewer/ImageProxyPanel.java1
-rw-r--r--src/java/org/apache/fop/render/awt/viewer/PreviewDialogAboutBox.java8
-rw-r--r--src/java/org/apache/fop/render/awt/viewer/Translator.java3
5 files changed, 9 insertions, 12 deletions
diff --git a/src/java/org/apache/fop/render/awt/viewer/Command.java b/src/java/org/apache/fop/render/awt/viewer/Command.java
index ef6559a11..f989eaf33 100644
--- a/src/java/org/apache/fop/render/awt/viewer/Command.java
+++ b/src/java/org/apache/fop/render/awt/viewer/Command.java
@@ -19,11 +19,11 @@
package org.apache.fop.render.awt.viewer;
-//Java
import java.awt.event.ActionEvent;
+import java.net.URL;
+
import javax.swing.AbstractAction;
import javax.swing.ImageIcon;
-import java.net.URL;
/**
* This class represents UI-commands, which can be used as menu or toolbar
diff --git a/src/java/org/apache/fop/render/awt/viewer/GoToPageDialog.java b/src/java/org/apache/fop/render/awt/viewer/GoToPageDialog.java
index 0ff71be67..599a7d788 100644
--- a/src/java/org/apache/fop/render/awt/viewer/GoToPageDialog.java
+++ b/src/java/org/apache/fop/render/awt/viewer/GoToPageDialog.java
@@ -24,6 +24,8 @@ import java.awt.Frame;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JDialog;
@@ -31,9 +33,6 @@ import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-
/**
* Go to Page Dialog.
* Originally contributed by:
diff --git a/src/java/org/apache/fop/render/awt/viewer/ImageProxyPanel.java b/src/java/org/apache/fop/render/awt/viewer/ImageProxyPanel.java
index 9b3cac0a0..d0d35e84b 100644
--- a/src/java/org/apache/fop/render/awt/viewer/ImageProxyPanel.java
+++ b/src/java/org/apache/fop/render/awt/viewer/ImageProxyPanel.java
@@ -25,6 +25,7 @@ import java.awt.Insets;
import java.awt.image.BufferedImage;
import java.lang.ref.Reference;
import java.lang.ref.SoftReference;
+
import javax.swing.JPanel;
import org.apache.fop.apps.FOPException;
diff --git a/src/java/org/apache/fop/render/awt/viewer/PreviewDialogAboutBox.java b/src/java/org/apache/fop/render/awt/viewer/PreviewDialogAboutBox.java
index b76675179..53cd585c9 100644
--- a/src/java/org/apache/fop/render/awt/viewer/PreviewDialogAboutBox.java
+++ b/src/java/org/apache/fop/render/awt/viewer/PreviewDialogAboutBox.java
@@ -19,24 +19,22 @@
package org.apache.fop.render.awt.viewer;
-//Java
import java.awt.AWTEvent;
import java.awt.BorderLayout;
import java.awt.Dialog;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.GridLayout;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.WindowEvent;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
-import java.awt.event.ActionListener;
-import java.awt.event.WindowEvent;
-import java.awt.event.ActionEvent;
-//FOP
import org.apache.fop.Version;
/**
diff --git a/src/java/org/apache/fop/render/awt/viewer/Translator.java b/src/java/org/apache/fop/render/awt/viewer/Translator.java
index df07a987f..538c2cd59 100644
--- a/src/java/org/apache/fop/render/awt/viewer/Translator.java
+++ b/src/java/org/apache/fop/render/awt/viewer/Translator.java
@@ -19,9 +19,8 @@
package org.apache.fop.render.awt.viewer;
-//Java
-import java.util.ResourceBundle;
import java.util.Locale;
+import java.util.ResourceBundle;
/**
* AWT Viewer's localization class, backed up by <code>java.util.ResourceBundle</code>.