@@ -0,0 +1,1721 @@
+package DeltaGene;%0A%0Aimport java.awt.Button;%0Aimport java.awt.Container;%0Aimport java.awt.Dimension;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0A%0Aimport javax.swing.BoxLayout;%0Aimport javax.swing.JFrame;%0Aimport javax.swing.JTextArea;%0A%0Apublic class Error implements ActionListener%7B%0A%09private JFrame errframe;%09%09// This is the error window%0A%09%0A%09Error(String errmsg, String errtitle, int consequence) %7B%0A%09%09errframe = new JFrame(errtitle);%0A%09%09Container errcnt = new Container();%0A%09%09JTextArea errlbl = new JTextArea();%0A%09%09Button errbtn = new Button (%22OK%22);%0A%09%09errframe.setContentPane(errcnt);%0A%09%09errframe.setPreferredSize(new Dimension(500, 250));%0A%09%09errframe.setDefaultCloseOperation(consequence);%0A%09%09errcnt.setLayout(new BoxLayout(errcnt, BoxLayout.PAGE_AXIS));%0A%09%09errlbl.setText(errmsg);%0A%09%09errlbl.setEditable(false);%0A%09%09errlbl.setPreferredSize(new Dimension(300,50));%0A%09%09errlbl.setBackground(errframe.getContentPane().getBackground());%0A%09%09errframe.getContentPane().add(errlbl);%0A%09%09errbtn.setPreferredSize(new Dimension(80, 30));%0A%09%09errbtn.addActionListener(this);%0A%09%09switch (consequence) %7B%0A%09%09case JFrame.EXIT_ON_CLOSE:%0A%09%09%09errbtn.setActionCommand(%22errexit%22);%0A%09%09%09break;%0A%09%09case JFrame.DO_NOTHING_ON_CLOSE:%0A%09%09%09errbtn.setActionCommand(%22nothing%22);%0A%09%09%09break;%0A%09%09case JFrame.DISPOSE_ON_CLOSE:%0A%09%09%09errbtn.setActionCommand(%22errdispose%22);%0A%09%09%09break;%0A%09%09%7D%0A%09%09errframe.getContentPane().add(errbtn);%0A%09%09errframe.setResizable(false);%0A%09%09errframe.pack();%0A%09%09errframe.setLocationRelativeTo(null);%0A%09%09errframe.setVisible(true);;%0A%09%7D%0A%0A%09@Override%0A%09public void actionPerformed(ActionEvent e) %7B%0A%09%09if (e.getActionCommand().equals(%22errdispose%22)) %7B%0A%09%09%09errframe.dispose();%0A%09%09%7Dif (e.getActionCommand().equals(%22errexit%22)) %7B%0A%09%09%09System.exit(0);%0A%09%09%7D%0A%09%09%0A%09%7D%0A%7D%0A

Create Error.java