izpack/izpack — pull request #16 by yardena (2012-07-08 13:48:45+00:00)
Title: InstallPanel: move noOfPacks check from c-tor to startAction method

Hi,

The issue http://jira.codehaus.org/browse/IZPACK-155 was still happening to us with version 4.3.5, and this change fixed it. You can see in the code that when number of packs was tested in the constructor, it contained the initial value (0) so the test always came back negative. By moving the test to startAction method, I saw the progress bar actually becoming indeterminate. Please review the fix and consider merging.

Thanks,
Yardena.