Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2010
    Posts
    95
    Thanks
    14
    Thanked 0 Times in 0 Posts

    How to change the style of a selected item in menu (lwuit)

    Hi
    How do I change the style of a selected item in command menu (lwuit)? I want to change the background color of the selected item to gray. How do I do this using a hashtable?

  • #2
    New Coder
    Join Date
    Feb 2010
    Posts
    95
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Solved it with:
    UIManager.getInstance().getLookAndFeel().setMenuRenderer(new ItemRenderer());


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •