X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FHTMLOutput.java;h=95864c3f157b44201f2fa8bbcced4aeb2f324528;hb=17e77c3f2949a0729322b4a8d907f3f34b6a9914;hp=af5fc03bb1ab662c8d0a236f19b0b610c0fe5948;hpb=72b3f05a1157da32ada5aea139139996dddea219;p=jalview.git diff --git a/src/jalview/io/HTMLOutput.java b/src/jalview/io/HTMLOutput.java index af5fc03..95864c3 100755 --- a/src/jalview/io/HTMLOutput.java +++ b/src/jalview/io/HTMLOutput.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9) + * Copyright (C) 2015 The Jalview Authors * * This file is part of Jalview. * @@ -20,14 +20,18 @@ */ package jalview.io; -import java.io.*; - -import java.awt.*; - -import jalview.datamodel.*; -import jalview.gui.*; +import jalview.datamodel.AlignmentI; +import jalview.datamodel.SequenceI; +import jalview.gui.AlignViewport; +import jalview.gui.AlignmentPanel; +import jalview.gui.FeatureRenderer; +import jalview.gui.SequenceRenderer; import jalview.util.MessageManager; +import java.awt.Color; +import java.awt.Font; +import java.io.PrintWriter; + public class HTMLOutput { AlignViewport av; @@ -48,12 +52,12 @@ public class HTMLOutput fr.transferSettings(fr1); JalviewFileChooser chooser = new JalviewFileChooser( - jalview.bin.Cache.getProperty("LAST_DIRECTORY"), new String[] - { "html" }, new String[] - { "HTML files" }, "HTML files"); + jalview.bin.Cache.getProperty("LAST_DIRECTORY"), + new String[] { "html" }, new String[] { "HTML files" }, + "HTML files"); chooser.setFileView(new JalviewFileView()); - chooser.setDialogTitle("Save as HTML"); + chooser.setDialogTitle(MessageManager.getString("label.save_as_html")); chooser.setToolTipText(MessageManager.getString("action.save")); int value = chooser.showSaveDialog(null);