Can we change the background color of a sub menu?

In swing, can we change the background color of a sub menu. it is working fine for the main menu, but doesn't work for sub menu.

Hey hi,
just an append to the previous reply.
The subMenu needs to be setOpaque() to true. i.e.
subMenu.setOpaque(true);

Similar Messages

  • Can we change the background color of a native menu?

    Is it possible? In Windows, the native menu background is
    always gray which may not fit the color theme of the
    application.

    No, this is not currently supported for native menus. (And it
    isn't always gray -- it is the color set by the user for their
    desktop).
    If you are using Flex, the MenuBar component can be styled.
    To get stylable menu bars for Flash and HTML, you would have to
    work something up from scratch or use someone else's component.

  • How can I change the background color in the inbox?

    The background color in my inbox (well, all mailboxes) is white. A yellow background would make the existing black text a lot easier to read. How can I change the background color in the inbox?

    Themes work in Thunderbird - duggabe was not refering to Firefox.
    Another useful addon is theme and font changer:
    * https://addons.mozilla.org/fr/thunderbird/addon/theme-font-size-changer/
    However, Thunderbird allows you to modify all sorts of things.
    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    Help > Troubleshooting Information
    Click on 'show Folder' button
    a window opens shwoing profile folder name
    Close Thunderbird now - this is important
    In the profile name folder, Create a new folder called '''chrome''' - note the spelling
    It should be in the same place as the 'Mail' folder.
    see first image below.
    Open Notepad
    Can be located : Start > Programs > accessories
    Copy everything shown between the lines below.
    Paste into Notepad.
    Save as '''userChrome.css''' - note the spelling (edit updated - this was a typo error)
    This should be saved in the '''chrome''' folder.
    see second image below.
    Restart Thunderbird.
    I have chosen a yellow for you
    <pre>
    #f6f58c = a yellow....it is a hex code for a colour.
    </pre>
    You can change it if required. Remember when updating anything in the profile folders, you must close Thunderbird first.
    More info on colours.
    * http://www.yourhtmlsource.com/stylesheets/namedcolours.html
    <pre>
    * Do not remove the @namespace line -- it's required for correct functioning
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    /*Background colour for message list*/
    #threadTree > treechildren::-moz-tree-row {
    background-color: #f6f58c !important;
    </pre>
    -------------------------------------------

  • Can I change the background color when I'm in a brochure layout?

    can I change the background color when I'm in a brochure layout? I've tried making a box in desired color but cannot push it to the back(not an option, it's greyed out)

    Then you are in a Layout template and the shape is already the back most object.
    Peter

  • How can i change the background colors on my iphone. The new white is hard on my eyes. I dont care for the grey boxes either.

    how can i change the background colors on the new update? I find the white a bit much. Also is there anyway I can change the grey boxes they seem out of place.

    That makes me sad. thannk you

  • How can I change the background color of my podcast's iTunes page?

    My RSS feed just got accepted but now I need to customize the title, author, background color, and logo of my site. Does anyone know how to do this? Thank you!

    You can't change the background colour - it's white for audio and black for video. The other data can be changed by changing the appropriate tag in the feed, or if you're using a program or online service to make your podcast,. wherever they provide for entering this information.
    The title is carried in the 'title' tag; the author in the 'itunes:author' tag, and the 'podcast image' which appears on the Store page in the 'itunes: image' tag. Republish the feed after making the amendments: it will take a couple of days for the new data to appear, though the image may take several days.
    The image which appears in some podcasts in the bottom left-hand corner of iTunes when subscribing is not referenced in the feed but has to be actually embedded into the media file: please see this page:
    http://www.wilmut.webspace.virginmedia.com/notes/coverart.html
    You may find this general page on making a podcast helpful:
    http://rfwilmut.net/pc

  • How can i change the background color in the mobile windows adobe reader app? i want to change it from black to white but don't know how.

    really want to change the background color of my documents in the mobile app. ive tried to search the answer online, in blogs and other various 'life hacks' blogs or articles, but so far everyone is talking about the desktop version. i really want to figure this out. is there even an option for the mobile version for windows? the only editing icons when a document is open are: export, home, make public, search in document, highlight/strikethrough/underline/comment and continuous/single view. if there isnt an option to edit background color, can i suggest that the makers of the windows mobile version make one, and make it fast please! any help would be appreciated. -CHANGE BACKGROUND COLOR

    hi, thanks for helping me ...
    i have used the above url and made changes to my OAF page, but i didn't get the desired output and its also giving as the above code output .
    i kept OraBgGrayVeryDark in Css style in property inspector for every region including PageLayout and i also did some changes in cabo/styles/*.css classes.
    eventhough it is picking the color upto footer level only and it is not applying for advanced table also.
    can anyone please give your views in this..

  • Can i change the background color of a file from white?

    i want to change file backgrounds from bright white, to a more soothing color.

    Each program is different and do not always have controls to change the background colors.
    For jpg files view this:
    https://www.youtube.com/watch?v=u5-WmuLFHys
    or this for jpeg
    http://www.wikihow.com/Change-an-Image-Background-in-MS-Paint-(Green-Screen)
    or this for pdf
    http://sodapdf.com/blog/sodapdf-tutorials/how-to-edit-a-pdf-file/pages/how-to-add-or-replace-a-backg...
    or of a folder
    http://www.sevenforums.com/customization/336693-how-change-background-color-folders-windows-7-a.html
    Anything else, I can't help you.
    Please mark my post as SOLVED if it has resolved your problem. It helps others with similar situations.

  • Can you change the background colors in templates on Pages?

    I love the newsletter templates in Pages, but I can't figure out a way to change the background color. I am supposed to use specific colors so I was hoping there was a way to change the background colors in some of the tables. Is there a way?

    Hi, yes, I clicked the box that I wanted to change the background in. I made sure that the correct box was selected and not the text box on top of it. Then I clicked Fill on the top bar and selected the color that I wanted to change it to. I only wanted to change the color in certain boxes - I didn't want to change the entire background of the newsletter template. I hope I explained this ok

  • How can i change the background color in the heading when i add a new page

    How can I change the background in the heading on a new page? When you add WELCOME page the heading color is tan, the ABOUT ME page the heading is light blue, the PHOTOS page the heading block behind the heading text is light green, etc. How do I change those colors?

    you can change iweb navbar any which way you want, as long as you know iweb widgets:
    http://iwebwidgets.cyclosaurus.com/iWebNavBar/BkgndColor.html
    you won't see the change in iweb, you only see it in published site.

  • Can i change the background color to grey?

    I was wondering if it is possible to change the background color
    of JDeveloper to grey so that i can "relieve" my eyes.
    Thanks,
    Alex.
    null

    hi user505516
    You could try "Tools" > "Preferences..." > "Code Editor" > "Syntax Colors" and from the "Available Styles" list select "Default plain text" and from the "Background Color" dropbox select the color you prefer.
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    success
    Jan Vervecken

  • How can I change the background color of a menu ring?

    Hi
    Does anybody know how to change the background color of a menu ring??? (not the backround color of the first item, the background color of the list (remains always gray))
    thanks martin

    Try Preferences>>Colors>>Menu Background, but this will change ALL menu's background color.
    Hope this helps

  • How can I change the background color in text box using RGB format

    Can some one tell me if Mac Pages (version 5.0) allows users to customize the background color of a text box using RGB color format?  It appears that the text color can be changed using RGB but background color is limited to a few standard colors.   Thanks

    They are just sample swatches, use the Color Picker to choose anything you want.
    Peter

  • How can I change the background color of odd/even rows in a panelCollection

    Hi everyone.
    I'm using a panelCollection and I need to change the backgroung color for odd/even rows in the table,
    how can I do this, using a stylesheet, is there a special selector or property for this?
    globalResultCollection (UIPanelCollection object) , is a collection of UITable elements, and it's working fine.
    I just want to change the defaul background color for rows.
    Thanks
    <af:panelCollection id="GLOBAL_RESULT_COLLECTION"
    binding="#{admin.view.globalResultCollection}"
    styleClass="globalResultCollectionRegion"
    clientComponent="true">
    <f:facet name="menus">
    <af:menu id="GLOBAL_OPERATION_MENU"
    binding="#{admin.view.globalOperationMenu}" />
    </f:facet>
    <f:facet name="toolbar">
    <af:toolbar inlineStyle="width:100%"
    binding="#{admin.view.globalOperationToolbar}"
    id="OPERATION_TOOLBAR"/>
    </f:facet>
    </af:panelCollection>

    Hi,
    use this:
    af|table::data-row af|column::data-cell { background-color: #CCCCFF; }
    af|table::data-row af|column::banded-data-cell { background-color: #FFCCCC; }
    Regards,
    s o v i e t

  • How can I change the background color of a chart?

    How can I change the default black background color of a chart to white?
    Thanks
    John

    Hello All,
    Another (and my preferred method) of bringing up the tools palette is to press
    <shift>+<Rt-Click>.
    Just another way to do something in LabVIEW!
    Travis M
    LabVIEW R&D
    National Instruments

Maybe you are looking for

  • Creation of invoicing plan while creating the PO using BAPI_PO_CREATE1

    Hi, basically I'm creating a PO using BAPI_PO_CREATE1 and then creating Invoicing plan thru ME22 using BDC. Could anyone please help me if there is any possibility of creation of invoicing plan while creating the PO itself using BAPI_PO_CREATE1. than

  • Tom Tom on Nokia N86 8MP?

    Hello all, Would appreciate some advice as to the best sat Nav software on the market? Having owned a Tom Tom Sat Nav I would prefer if there was compatible software for my Nokia N86 8MP mobile phone as Tom Tom are usually user friendly! Also would l

  • Automator or Applescript using png files with alpha channel

    I have hundred of png files with alpha channel. I want to suppress alpha channel. How can i do it using Automator or Applescript ? Thank you very much.

  • How to put a remote portlets server in maintenance mode

    Hi, We are running Plumtree Portal 5.0.4 on Windows 2000 Server SP4. We have a remote portlets server which hosts a lot of portlets' webservices. We need to put the remote server in maintenance mode. How can we disable all webservices hosted by this

  • Problem when application is closed using CTRL-C

    When my app is launched it displays a JFrame and connects to a DB. In my GUI I have a windowClosing event handler and also a handler for a Disconnect button which will gracefully close the DB connection befor exiting. However when a user executes fro