I'm unable to run any of the Jung examples that set or change the Vertex (or other Transformers). I receive the following error:
The method setVertexFillPaintTransformer(Function) in the type RenderContext is not applicable for the arguments (Transformer<String,Paint>)
The sample code:
vv.getRenderContext().setVertexFillPaintTransformer(vertexPaint);
where vertexPaint is
Transformer<String,Paint> vertexPaint = new Transformer<String,Paint>() {
public Paint transform(String b) {
return Color.orange;
}
};