E
Ed
In Class PublishStats I have instantiated an array
<<DefaultStyledDocument[] docmnt = new DefaultStyledDocument[20];>>
In method "public void UpdateFields" I have declared
<<DefaultStyledDocument doc = "";>>
Now I trying to fill the array with DefaultStyledDocuments doc1 through
doc20 so I can load each with formatted Strings.
<<
for (int i = 0; i < 20; i++)
{
docmnt = (doc + (i + 1));
}
The above will not compile - says I cannot use the concatination symbol "+".
What am I doing wrong?
<<DefaultStyledDocument[] docmnt = new DefaultStyledDocument[20];>>
In method "public void UpdateFields" I have declared
<<DefaultStyledDocument doc = "";>>
Now I trying to fill the array with DefaultStyledDocuments doc1 through
doc20 so I can load each with formatted Strings.
<<
for (int i = 0; i < 20; i++)
{
docmnt = (doc + (i + 1));
}
The above will not compile - says I cannot use the concatination symbol "+".
What am I doing wrong?