947948949950951952953954955956
for (IComponent iComponent : thingRegistry.getComponents()) { IComponentUI cUI = iComponent.getUI(); if (cUI instanceof BasicEdgeComponentUI) { BasicEdgeComponentUI edge = (BasicEdgeComponentUI) cUI; edge.setLineColor(Color.GREEN); } } }