Re: Trouble with ExcelProp.java demo

Stan Hughes <[email protected]> Thu, 7 Jul 2005 22:49:20 -0400
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <LISTSERV%[email protected]>
Morten, want to thank you for your input. I figured out what the problem
was. For the purposes of adding documentation to the list, I thought I would
post what I figured out...

First of all, you do have to create the directory path and propput.xls file.
It doesn't really matter what is in the file, other that a value in column
A2 (this value gets copied to A1). The code did have to be changed from

...
   range.putN("Item", new Object[] { new Integer(1)}, 2, range2);
...

to

...
   range.putN("Item", new Object[] { new Integer(1)}, 1, range2);
...

Thanks again...