For some reason, we aren't allowed to post Java source attachments to the list.
Can you attach a zip file containing a screen shot and any relevant source
code? Thanks.
On Nov 22, 2010, at 4:20 AM, MSafiri wrote:
>
> Dear Greg,
>
> I am uploading the .java file, which is causing the problem.
>
> This is the way we declare the Image:
>
> Image flagGreen = Image.load(new URL("file:///C:/green.png"));
> Image flagRed = Image.load(new URL("file:///C:/red.png"));
>
> This part is putting the flag to the column, based on the calculation:
>
>
> if(isDateOutOfThresoldRange(dateFormat.format(currentValues.get(MessageDataDef.progress_start))
> + "",
>
> dateFormat.format(newValues.get(MessageDataDef.progress_start)) + "")){
> mapStartDate.put("trend", flagRed);
> }else{
> mapStartDate.put("trend", flagGreen);
> }
>
> You can see all the code in the attached file.
>
> Thanks alot for your help,
>
> MSafiri
> http://apache-pivot-users.399431.n3.nabble.com/file/n1944528/DialogProgressUpdateConfirmation.java
> DialogProgressUpdateConfirmation.java
> --
> View this message in context:
> http://apache-pivot-users.399431.n3.nabble.com/Data-for-trend-is-not-an-instance-of-org-apache-pivot-wtk-media-Image-tp1930922p1944528.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.