* @see com.seaglasslookandfeel.painter.AbstractRegionPainter#doPaint(java.awt.Graphics2D,
* javax.swing.JComponent, int, int, java.lang.Object[])
*/
protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) {
// Rossi: Top-Left corner is round for popups but square for sub menus and real menus from menubar
CornerStyle topLeftCornerStyle = getTopLeftCornerStyle(c);
Shape s = shapeGenerator.createRoundRectangle(0, 0, width, height,
CornerSize.POPUP_BORDER,
topLeftCornerStyle, CornerStyle.ROUNDED,
CornerStyle.ROUNDED,CornerStyle.ROUNDED);