}catch(Exception e){}
}
public static void setColoringAHT(Component cell,String header,Object value,double goal){
try{
AHT aht = (AHT)value;
if(header.contentEquals("Krav***")){
double red = goal * .95;
if(aht.getResult() >= goal){
cell.setBackground(ColorConstant.red);
}else if (aht.getResult() <= red){
cell.setBackground(ColorConstant.green);
}else{
cell.setBackground(ColorConstant.yellow);
}
}else{
double red = goal * 1.05;
if(aht.getResult() <= goal){
cell.setBackground(ColorConstant.green);
}else if (aht.getResult() >= red){
cell.setBackground(ColorConstant.red);
}else{
cell.setBackground(ColorConstant.yellow);
}
}