/* * Copyright 2005 MH-Software-Entwicklung. All rights reserved. * Use is subject to license terms. */ package com.jtattoo.plaf; import java.awt.*; import javax.swing.*; import javax.swing.plaf.*; import javax.swing.plaf.basic.*; /** * @author Michael Hagen */ public class BaseMenuBarUI extends BasicMenuBarUI { public static ComponentUI createUI(JComponent c) { return new BaseMenuBarUI(); } public void paint(Graphics g, JComponent c) { int w = c.getWidth(); int h = c.getHeight(); JTattooUtilities.fillHorGradient(g, AbstractLookAndFeel.getTheme().getMenuBarColors(), 0, 0, w, h); } }