[izpack-users] java.lang.NullPointerExceptioninInstallerFrame.java:1265
Bartz, Klaus
Klaus.Bartz at coi.de
Thu Oct 26 10:11:20 CEST 2006
Hi Fred,
I have tested and see that is only the given line which
have to be add. Just checked in into trunk of svn
(on berlios).
Beneth them I have realized that I miss
gaps at top and bottom (may be also between the lines).
This will be not so easy to implement because the time
performing creation of heading panel is very early.
A work around will be to declare a heading image in a
size which "creates" top and bottom gaps ( height of
heading panel depence on height of image if exist;
text will be centered).
No the diff of the changes:
--- izpack-src/trunk/src/lib/com/izforge/izpack/installer/InstallerFrame.java 2006-10-25 07:50:05 UTC (rev 1634)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/installer/InstallerFrame.java 2006-10-26 08:08:40 UTC (rev 1635)
@@ -1261,6 +1261,7 @@
}
for (int i = 1; i < headingLines; ++i)
{
+ headingLabels[i] = new JLabel();
// Minor headings should be a little bit more to the right.
headingLabels[i].setBorder(BorderFactory.createEmptyBorder(0, 30, 0, 0));
}
Cheers
Klaus
>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Frederic
>Lapeyre
>Sent: Wednesday, October 25, 2006 10:48 PM
>To: izpack-users at lists.berlios.de
>Subject: Re: [izpack-users]
>java.lang.NullPointerExceptioninInstallerFrame.java:1265
>
>
>Klaus,
>
>On Thu, 26 Oct 2006 01:10, Bartz, Klaus wrote:
>> You can put the line into the source and
>> build IzPack new or you wait until tomorrow. Then
>> I test a little bit and check in the fix.
>> In the moment I have no time (my wife waits...).
>
>Thanks a lot, I'll do that in the mean time!
>
>Cheers,
>Fred
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-users
>
More information about the izpack-users
mailing list