jpar = focused.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) focused.getAdapter(IPainter.class);
painter.paintGrid(clipg);
clipg.dispose();
}
private void paintAdapterAnchor(Graphics g, CompositeAdapter selected) {
Component jpar = selected.getWidget();