for (Component comp : unionSet) {
if (!suppressHandles.contains(comp) && !hidden.contains(comp)) {
Graphics g_new = g.create();
context.setGraphics(g_new);
CustomHandles handler
= (CustomHandles) comp.getFeature(CustomHandles.class);
if (handler == null) {
context.drawHandles(comp);
} else {
handler.drawHandles(context);
}
g_new.dispose();
}
}