jpar = hinted.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) hinted.getAdapter(IPainter.class);
painter.paintHint(clipg);
clipg.dispose();
}
private void paintHoveredAdapter(Graphics g, CompositeAdapter hovered) {
Component jpar = hovered.getWidget();