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.