List<UIThreshold> threshold = MetricsUIRequestHandler.getUIThresholds(metricsID);
while(model.getRowCount() > 0)
model.removeRow(0);
for(UIThreshold thresh:threshold){
MetricThresholdState state = thresh.getThreshold();
String color = "red";
if(state == MetricThresholdState.YELLOW)
color = "yellow";
else if(state == MetricThresholdState.GREEN)
color = "green";