[izpack-devel] Free space check
Klaus.Bartz at coi.de
Tue May 15 16:03:00 CEST 2007
I think it is difficult.
At entering the panel we determine the free space and show it
in the panel and store it in a class variable.
At a "next" switch we compare the stored free space and
space of selected packs. If free space is less, panal do not
change to the next. But the current panel will not be destroyed
and created newly.
Where should we compute the free space again? In the isValidated()
method before the compare? Then we use an other size as we have
shown in the panel.
Creating the panel new? Uups, this needs a redisgn of the panel
handling. And this is not what you need. You need the revalidation
at the time you have removed some other files. Do you send IzPack
an event for it? No, you cannot.
You see, difficult...
> -----Original Message-----
> From: izpack-devel-bounces at lists.berlios.de
> [mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of
> Sandor Vroemisse
> Sent: Monday, May 14, 2007 10:48 AM
> To: izpack-devel at lists.berlios.de
> Subject: [izpack-devel] Free space check
> I discovered a minor bug. In the packs panel, when you click next and
> there is not enough space available, you get an error. If you then
> create more space and click 'next' again, IzPack insists there isn't
> enough space available. Only by clicking 'Previous', then clicking
> 'Next' twice, the actual free space is checked and you can move on.
> I got this with both IzPack 3.10.0 and 3.10.2 using Linux.
> Sandor Vroemisse _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
More information about the izpack-devel