SWT window becomes unresponsive while updating progressbar from a thread
问题 I am writing an java swt application to process the server log files and generate a excel sheet with some analytics and I have no issues doing that. The problem arises when I try to update the progress bar. Here is a basic flow of the code. The user selects the log file using a directoryDialog and presses a start button. When the button is clicked the following code is executed. startButton.addMouseListener(new MouseAdapter() { public void mouseUp(MouseEvent e) { pm.setUserData(ud,progressBar