X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjbappletgui%2FGPairwiseAlignPanel.java;h=10bd01e2940395dfa65deb5c683acee46ae346eb;hb=1d6ae39a6442c455d362b933f1da89b0a481e5f5;hp=54bb555a62542ffaef1faa38b037e38600815904;hpb=99c58ee0ae2a848f982552e53feaf6d5cb9925e5;p=jalview.git diff --git a/src/jalview/jbappletgui/GPairwiseAlignPanel.java b/src/jalview/jbappletgui/GPairwiseAlignPanel.java index 54bb555..10bd01e 100755 --- a/src/jalview/jbappletgui/GPairwiseAlignPanel.java +++ b/src/jalview/jbappletgui/GPairwiseAlignPanel.java @@ -16,55 +16,44 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ - package jalview.jbappletgui; import java.awt.*; import java.awt.event.*; -public class GPairwiseAlignPanel extends Panel -{ - protected ScrollPane scrollPane = new ScrollPane(); - protected TextArea textarea = new TextArea(); - protected Button viewInEditorButton = new Button(); - Panel jPanel1 = new Panel(); - BorderLayout borderLayout1 = new BorderLayout(); +public class GPairwiseAlignPanel extends Panel { + protected ScrollPane scrollPane = new ScrollPane(); + protected TextArea textarea = new TextArea(); + protected Button viewInEditorButton = new Button(); + Panel jPanel1 = new Panel(); + BorderLayout borderLayout1 = new BorderLayout(); - public GPairwiseAlignPanel() - { - try - { - jbInit(); - } - catch(Exception e) - { - e.printStackTrace(); + public GPairwiseAlignPanel() { + try { + jbInit(); + } catch (Exception e) { + e.printStackTrace(); + } } - } - private void jbInit() throws Exception - { - this.setLayout(borderLayout1); - textarea.setFont(new java.awt.Font("Monospaced", 0, 12)); - textarea.setText(""); - viewInEditorButton.setFont(new java.awt.Font("Verdana", 0, 12)); - viewInEditorButton.setLabel("View in alignment editor"); - viewInEditorButton.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(ActionEvent e) - { - viewInEditorButton_actionPerformed(e); - } - }); - this.add(scrollPane, BorderLayout.CENTER); - scrollPane.add(textarea); - this.add(jPanel1, BorderLayout.SOUTH); - jPanel1.add(viewInEditorButton, null); - } - - protected void viewInEditorButton_actionPerformed(ActionEvent e) - { - } + private void jbInit() throws Exception { + this.setLayout(borderLayout1); + textarea.setFont(new java.awt.Font("Monospaced", 0, 12)); + textarea.setText(""); + viewInEditorButton.setFont(new java.awt.Font("Verdana", 0, 12)); + viewInEditorButton.setLabel("View in alignment editor"); + viewInEditorButton.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(ActionEvent e) { + viewInEditorButton_actionPerformed(e); + } + }); + this.add(scrollPane, BorderLayout.CENTER); + scrollPane.add(textarea); + this.add(jPanel1, BorderLayout.SOUTH); + jPanel1.add(viewInEditorButton, null); + } + protected void viewInEditorButton_actionPerformed(ActionEvent e) { + } }