public void paintHovered(Graphics clipg) {
JPanel jpanel = (JPanel) adaptable.getWidget();
LayoutManager layout = jpanel.getLayout();
if (layout != null) {
LayoutAdapter layoutAdapter = ((CompositeAdapter)adaptable).getLayoutAdapter();
layoutAdapter.paintHovered(clipg);
}
clipg.setColor(Color.lightGray);
clipg.drawRect(0, 0, jpanel.getWidth() -1 , jpanel.getHeight() - 1);
}
@Override