Thanks for the help. It now compiles OK, but when I run it I get a
NullPointerExecption on the line reading :
<<wagerDoc[i].insertString(wagerDoc[i].getLength(), tabDat[wgr][i],
stdStyle);>>
Do you have any ideas on that?
> Thanks for the help. It now compiles OK, but when I run it I get a
> NullPointerExecption on the line reading :
[quoted text clipped - 3 lines]
>
> Do you have any ideas on that?
Bart answered that one already:
>> Don't forget you'll need to initialize every element of the array
>> before you can use it (all elements are 'null' by default).
If you have a Java textbook handy, you might want to review the section
on arrays. The problem doesn't actually have anything to do with
DefaultStyledDocument.
- Oliver
Charly Si - 30 May 2006 17:35 GMT
Right! I realized that after I posted. It's working OK now. Thanks to both.
>> Thanks for the help. It now compiles OK, but when I run it I get a
>> NullPointerExecption on the line reading :
[quoted text clipped - 14 lines]
>
> - Oliver