From: Jim Procter Date: Wed, 18 Sep 2013 09:09:57 +0000 (+0100) Subject: JAL-1355 - fix compilation errors: typos and missing imports X-Git-Tag: Jalview_2_9~200^2~17^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=64238c060481db2d63a9f6d3e013bcca1693eba5;p=jalview.git JAL-1355 - fix compilation errors: typos and missing imports --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index d188d61..423f7b9 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -5030,7 +5030,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, if (SwingUtilities.isRightMouseButton(e)) { String reply = JOptionPane.showInternalInputDialog(this, - MessageManager.getString("label.enter_view_name"), MessageManager.getString("label.enter_view_name, + MessageManager.getString("label.enter_view_name"), MessageManager.getString("label.enter_view_name"), JOptionPane.QUESTION_MESSAGE); if (reply != null) diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index 20abcc7..9e096be 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -20,11 +20,13 @@ package jalview.gui; import java.awt.*; import java.awt.event.*; import java.awt.image.*; + import javax.swing.*; import jalview.datamodel.*; import jalview.renderer.AnnotationRenderer; import jalview.renderer.AwtRenderPanelI; +import jalview.util.MessageManager; /** * AnnotationPanel displays visible portion of annotation rows below unwrapped diff --git a/src/jalview/gui/Finder.java b/src/jalview/gui/Finder.java index ce71f18..f63f74f 100755 --- a/src/jalview/gui/Finder.java +++ b/src/jalview/gui/Finder.java @@ -18,12 +18,13 @@ package jalview.gui; import java.util.*; - import java.awt.event.*; + import javax.swing.*; import jalview.datamodel.*; import jalview.jbgui.*; +import jalview.util.MessageManager; /** * DOCUMENT ME! diff --git a/src/jalview/gui/RotatableCanvas.java b/src/jalview/gui/RotatableCanvas.java index 1146f93..91eb991 100755 --- a/src/jalview/gui/RotatableCanvas.java +++ b/src/jalview/gui/RotatableCanvas.java @@ -18,14 +18,15 @@ package jalview.gui; import java.util.*; - import java.awt.*; import java.awt.event.*; + import javax.swing.*; import jalview.api.RotatableCanvasI; import jalview.datamodel.*; import jalview.math.*; +import jalview.util.MessageManager; /** * DOCUMENT ME! diff --git a/src/jalview/gui/ScalePanel.java b/src/jalview/gui/ScalePanel.java index da34561..abd41c0 100755 --- a/src/jalview/gui/ScalePanel.java +++ b/src/jalview/gui/ScalePanel.java @@ -19,9 +19,11 @@ package jalview.gui; import java.awt.*; import java.awt.event.*; + import javax.swing.*; import jalview.datamodel.*; +import jalview.util.MessageManager; /** * DOCUMENT ME!