/*
- * 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
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()
try
{
jbInit();
- }
- catch (Exception ex)
+ } catch (Exception ex)
{
ex.printStackTrace();
}
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");
}
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)