package jalview.gui;
import jalview.api.AlignExportSettingI;
+import jalview.bin.Jalview;
import jalview.jbgui.GAlignExportSettings;
import java.awt.event.ActionEvent;
String alignFileFormat)
{
super(hasHiddenSeq, hasHiddenCols, alignFileFormat);
- if (isShowDialog())
+ if (!Jalview.isHeadlessMode() && isShowDialog())
{
JOptionPane pane = new JOptionPane(null, JOptionPane.DEFAULT_OPTION,
JOptionPane.DEFAULT_OPTION, null, new Object[]