Implementing SwingWorker to process.