jpar = selected.getRootPane();
Rectangle local = SwingUtilities.getLocalBounds(jpar);
Rectangle pub = SwingUtilities.convertRectangle(jpar, local, designer);
Graphics clipg = g.create(pub.x, pub.y, pub.width + 1, pub.height + 1);
IPainter painter = (IPainter) selected.getAdapter(IPainter.class);
painter.paintAnchor(clipg);
clipg.dispose();
}
private void paintContextCustomizer(Graphics g, JComponent c) {
Component root = designer.getRoot();