public DefaultGraphNodeStyle() { loadDefaultColors(); this.nextColorIndex = 0; this.nodeTypeToPaint = new HashMap<Object, Paint>(); this.defaultNodeColor = BG; this.bgPaint = new GradientPaint(0, 0, Color.white, 0, 20, defaultNodeColor, true); borderPaint = Color.black; borderHighlightPaint = Color.black; borderSelectionPaint = Color.blue; borderMatchingPaint = new Color(0, 224, 0); textPaint = Color.black; tooltipBackground = defaultColors[0]; tooltipTextColor = GraphicsUtils.getTextColor(tooltipBackground); borderStroke = new PFixedWidthStroke(1f); borderHighlightStroke = new PFixedWidthStroke(2f); borderSelectionStroke = borderHighlightStroke; textFont = PText.DEFAULT_FONT; textHighlightFont = textFont; textSelectionFont = textFont; //.deriveFont(Font.BOLD); tooltipFont = textFont; }