Having some trouble getting the LearnerMainFrame class to play nicely with my new GUI class (LearnerUI). Controlling multiple threads is the main problem at the moment. Im going to check out the SwingWorker class. It looks like it should do what I want, which is simply to start and stop (and if possible, pause) the LearnerMainFrame without killing the LearnerUI instance.
I'm considering changing the LearnerMainFrame class to add new methods start, stop and pause methods, but I'm a little wary about making changes to common code without a real VCS. I raised the issue of setting up a Subversion repository in Meeting 1, but it was considered unnecessary at this stage. I'll raise it again next week.
Like the rest of the project, the GUI has become far more complicated. I'm hoping it becomes a little easier once I get used to using Swing again!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment