I am trying to display results based on an event on the text area. These results are event driven.
jbtnStart.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
File f = new File(installer);
if(f.exists()){
area.setText("File exists...");
}else{
area.setText("File not found!");
}
area.append("\n"+installer);
installer1=installer.concat("\\Autoplay");
area.append("\n"+installer1);
File f1 = new File(installer1);
if(f1.exists()){
area.append("\nF1 File exists");
}else{
area.setText("F1 not found!");
}