There is a simple interface, when you click a button, the processing of downloaded data starts.
public void actionPerformed(ActionEvent arg0) { ReaderAllFiles rw = new ReaderAllFiles(); rw.process(Constatns.PATH); ... } How to run the same rw.process method (Constatns.PATH) using multithreading?