Hi all
I have a empty GUI , what i need to do now is to put the algorithms I have into the GUI. Im not very sure how im supposed to go about doing it. Calling of files would be easier to me as i do not have to copy n paste the codes into the GUI codes but im not sure how to go about doing it. Because when i called the file, nothing happens, do i have to do any changes to the algorithm java file?(changing of codes?)
Compute.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if(target3.isSelected() && query3.isSelected() && DynPro.isSelected()) {
System.out.println("Sequence 1: "+seq1.getText());
System.out.println("Sequence 2: "+seq2.getText());
MatchApplet DPTest = new MatchApplet();
screen.append("Seq1: "+seq1.getText()+"\n");
screen.append("Seq2: "+seq2.getText()+"\n");
the algorithm file is named DPtest. Should i change it to DPTest DPTest = new DPTest(); to call the file? or is there another way for me to take my input from the gui and let it run in the algorithm file and get the output shown in my gui again?
help would be much appreciated.