X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FEPSOptions.java;h=dc7b650764b149d83d3a114888b78b9ee8e24490;hb=a8d30fa38a5d3e9cccf08aa446ca8ab00469bfd4;hp=543215f702d1d7c9eb8153d88e4832d83e6df013;hpb=4a621fa37b9addc932b571f96881513a7515066d;p=jalview.git diff --git a/src/jalview/gui/EPSOptions.java b/src/jalview/gui/EPSOptions.java index 543215f..dc7b650 100755 --- a/src/jalview/gui/EPSOptions.java +++ b/src/jalview/gui/EPSOptions.java @@ -1,6 +1,6 @@ /* * Jalview - A Sequence Alignment Editor and Viewer - * Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Copyright (C) 2007 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -18,10 +18,9 @@ */ package jalview.gui; -import javax.swing.*; import java.awt.*; -import java.awt.event.ActionListener; -import java.awt.event.ActionEvent; +import java.awt.event.*; +import javax.swing.*; public class EPSOptions extends JPanel @@ -46,8 +45,10 @@ public class EPSOptions bg.add(text); JOptionPane pane = new JOptionPane(null, - JOptionPane.DEFAULT_OPTION, JOptionPane.DEFAULT_OPTION, - null, new Object[]{this}); + JOptionPane.DEFAULT_OPTION, + JOptionPane.DEFAULT_OPTION, + null, new Object[] + {this}); dialog = pane.createDialog(Desktop.desktop, "EPS Rendering options"); dialog.setVisible(true); @@ -109,9 +110,13 @@ public class EPSOptions public void ok_actionPerformed(ActionEvent e) { if (lineart.isSelected()) + { value = "Lineart"; + } else + { value = "Text"; + } if (!askAgain.isSelected()) {