JAVA: JProgressbar & Files.copy With Observer and Swingworker in 1 Class
问题 I wrote an aricle a couple months agoMY POST but I want to make some changes to I. Now all my code is worked out in the Swingworker class. But I want to use the MVC methode and use the observer pattern to update my variables in the view. Now i have something like this public class CopyFrame extends JFrame { private JTextarea textArea; private JProgresbar progresbar; public CopyFrame(){ progresbar = new JProgresbar textArea = new JTextarea(); progresbar.setMaximum(100)); /*in this method I