applied 2009 GPL license
[jalview.git] / src / jalview / gui / EPSOptions.java
index a3339c1..2c4b532 100755 (executable)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4.0.b2)
+ * Copyright (C) 2009 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
@@ -22,11 +22,12 @@ import java.awt.*;
 import java.awt.event.*;
 import javax.swing.*;
 
-public class EPSOptions
-    extends JPanel
+public class EPSOptions extends JPanel
 {
   JDialog dialog;
+
   public boolean cancelled = false;
+
   String value;
 
   public EPSOptions()
@@ -34,8 +35,7 @@ public class EPSOptions
     try
     {
       jbInit();
-    }
-    catch (Exception ex)
+    } catch (Exception ex)
     {
       ex.printStackTrace();
     }
@@ -44,19 +44,16 @@ public class EPSOptions
     bg.add(lineart);
     bg.add(text);
 
-    JOptionPane pane = new JOptionPane(null,
-                                       JOptionPane.DEFAULT_OPTION,
-                                       JOptionPane.DEFAULT_OPTION,
-                                       null, new Object[]
-                                       {this});
+    JOptionPane pane = new JOptionPane(null, JOptionPane.DEFAULT_OPTION,
+            JOptionPane.DEFAULT_OPTION, null, new Object[]
+            { this });
 
     dialog = pane.createDialog(Desktop.desktop, "EPS Rendering options");
     dialog.setVisible(true);
 
   }
 
-  private void jbInit()
-      throws Exception
+  private void jbInit() throws Exception
   {
     lineart.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11));
     lineart.setText("Lineart");
@@ -97,14 +94,23 @@ public class EPSOptions
   }
 
   JRadioButton lineart = new JRadioButton();
+
   JRadioButton text = new JRadioButton();
+
   JCheckBox askAgain = new JCheckBox();
+
   JButton ok = new JButton();
+
   JButton cancel = new JButton();
+
   JPanel jPanel1 = new JPanel();
+
   JLabel jLabel1 = new JLabel();
+
   JPanel jPanel2 = new JPanel();
+
   JPanel jPanel3 = new JPanel();
+
   BorderLayout borderLayout1 = new BorderLayout();
 
   public void ok_actionPerformed(ActionEvent e)