Refactoring into two packages and experimenting with JProgressBar