wrapper.add(getIconLabel(object), BorderLayout.WEST);
wrapper.add(getLabelPanel(nodeRealizer), BorderLayout.CENTER);
}
protected JComponent getLabelPanel(final NodeRealizer nodeRealizer) {
final Node node = nodeRealizer.getNode();
final N object = myWrapper.<N>getNodeObject(node.getGraph(), node);
final JPanel jPanel = new GradientFilledPanel(getBackground(object));
jPanel.setBorder(BorderFactory.createLineBorder(Color.WHITE, 2));
jPanel.setBackground(LightColors.BLUE);
jPanel.setLayout(new BorderLayout());