Class BeaTunesMenuItemUI

    • Constructor Detail

      • BeaTunesMenuItemUI

        public BeaTunesMenuItemUI()
    • Method Detail

      • createUI

        public static ComponentUI createUI​(JComponent c)
        Parameters:
        c - component
        Returns:
        UI object
      • paintBackground

        protected void paintBackground​(Graphics g,
                                       JMenuItem menuItem,
                                       Color bgColor)
        Draws the background of the menu item.
        Overrides:
        paintBackground in class BasicMenuItemUI
        Parameters:
        g - the paint graphics
        menuItem - menu item to be painted
        bgColor - selection background color
        Since:
        1.4