menuBar.getWidth(),
menuBar.getHeight());
MultiRectArea menuClip = new MultiRectArea(clipArea);
if (menuClip.getRectCount() > 0) {
clipArea.substract(bounds);
menuClip.translate(-menuPos.x, -menuPos.y);
Graphics g = menuBar.getGraphics(menuClip);
if (g != null) {
menuBar.paint(g);
}
}