Changing the default cursor to busy cursor does not work as expected
问题 After many attempts trying to make a JProgressBar work as expected, I finally became successful at achieving my goal. I had used @MadProgrammer's advice and used a SwingWorker to finally get the program work as I want. Now, I want the cursor to change into when my JProgressBar goes from 0% to 100%. I've googled and found out that setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); is the code to do it. I've tried it but it does not work as expected. Relevant piece of code: JProgressBar