JPanel with a specific JRadioButton does not update after getting result from SwingWorker thread
问题 I am making a Java GUI application. For reading two types of files required as an input, I am using the SwingWorker class which performs the operation in two different background threads. Once, the two types of files are read, there are a lot of components which get updated in the GUI with data and a HeatMap in one of the JPanel . This JPanel contains two JRadioButton , which on switching should display the two different heat maps obtained from the two files read by the application. I can see