5 import java.awt.event.*;
8 public class GPairwiseAlignPanel extends JPanel
10 protected JScrollPane scrollPane = new JScrollPane();
11 protected JTextArea textarea = new JTextArea();
12 protected JButton viewInEditorButton = new JButton();
13 JPanel jPanel1 = new JPanel();
14 BorderLayout borderLayout1 = new BorderLayout();
16 public GPairwiseAlignPanel()
27 private void jbInit() throws Exception
29 this.setLayout(borderLayout1);
30 textarea.setFont(new java.awt.Font("Monospaced", 0, 12));
32 textarea.setWrapStyleWord(false);
33 viewInEditorButton.setFont(new java.awt.Font("Verdana", 0, 12));
34 viewInEditorButton.setText("View in alignment editor");
35 viewInEditorButton.addActionListener(new java.awt.event.ActionListener()
37 public void actionPerformed(ActionEvent e)
39 viewInEditorButton_actionPerformed(e);
42 this.add(scrollPane, BorderLayout.CENTER);
43 scrollPane.getViewport().add(textarea, null);
44 this.add(jPanel1, BorderLayout.SOUTH);
45 jPanel1.add(viewInEditorButton, null);
48 protected void viewInEditorButton_actionPerformed(ActionEvent e)