X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAlignExportSettings.java;h=2a126305276a11b49f749050e6d28a08b6d50388;hb=c3b8fbc19c04c2daec702a2bffdfab5d10555143;hp=02eea9fcd32ff667e7615ffcc266ce7ee2fb96c8;hpb=ce9a72893c0375c2d302d95cf5252a9d94f4bd48;p=jalview.git diff --git a/src/jalview/gui/AlignExportSettings.java b/src/jalview/gui/AlignExportSettings.java index 02eea9f..2a12630 100644 --- a/src/jalview/gui/AlignExportSettings.java +++ b/src/jalview/gui/AlignExportSettings.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.gui; import jalview.api.AlignExportSettingI; @@ -26,9 +46,9 @@ public class AlignExportSettings extends GAlignExportSettings implements super(hasHiddenSeq, hasHiddenCols, alignFileFormat); if (!Jalview.isHeadlessMode() && isShowDialog()) { + JOptionPane pane = new JOptionPane(null, JOptionPane.DEFAULT_OPTION, - JOptionPane.DEFAULT_OPTION, null, new Object[] - { this }); + JOptionPane.DEFAULT_OPTION, null, new Object[] { this }); dialog = pane.createDialog(Desktop.desktop, MessageManager.getString("label.export_settings")); dialog.addWindowListener(new WindowAdapter() @@ -46,7 +66,6 @@ public class AlignExportSettings extends GAlignExportSettings implements } } - public void ok_actionPerformed(ActionEvent e) { cancelled = false;