From 64238c060481db2d63a9f6d3e013bcca1693eba5 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 18 Sep 2013 10:09:57 +0100 Subject: [PATCH] JAL-1355 - fix compilation errors: typos and missing imports --- src/jalview/gui/AlignFrame.java | 2 +- src/jalview/gui/AnnotationPanel.java | 2 ++ src/jalview/gui/Finder.java | 3 ++- src/jalview/gui/RotatableCanvas.java | 3 ++- src/jalview/gui/ScalePanel.java | 2 ++ 5 files changed, 9 insertions(+), 3 deletions(-) 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! -- 1.7.10.2