JAVA - LWUIT ComboBox popup theming problem

I want to customize the look of the ComboBox pop-up list in LWUIT. Nonetheless when I tried to change the ComboBox, ComboBoxFocus, ComboBoxItem, ComboBoxList, ComboBoxPopup components in LWUIT Theme Creator, nothing happened. The popup preview in Theme Creator still shows the pop-up in black text on white background. Am I missing something? How to change the theme of this pop-up? I am using LWUIT 1.4

This question and answers originated from www.stackoverflow.com
Question by (7/31/2011 11:43:44 PM)

Answer

Use the following styles in LWUIT resource edit,

  • Unselected#ComboBoxItem#Color for unfocused list Item.
  • Unselected#ComboBoxPopup#Color for unfocused list Item.
  • Selected#ComboBoxItem#Color for focused list Item.

Note: uncheck derive checkbox and change the fore color or background color. Because its use default style When the derive checkbox is selected.

Answer by

Find More Answers
Related Topics  java  java-me  combobox  lwuit  lwuit-resource-editor
Related Questions
  • LWUIT Dialog problem with dispose()

    I am making a dialog with a command. This command must close the dialog and go back to the previous form, but it is not working as expected. When I press the command, it closes the dialog but the fo…
  • LWUIT ArrayOutOfBoundException

    I am new to LWUIT, and even though I am finding it very interesting to use, I have been having the challenge of previewing whatever MIDlet I generate. Each time i run the MIDlet in an emulator, I ge…
  • Hint text in LWUIT

    In LWUIT, some components (like the textField) have a hint property. Is there anyway to change this text´s format? I need to modify font and color. Is it possible?
  • LWUIT TextArea question

    Is there any way to write in a textArea without going to a LCDUI window? I want to edit my textArea in my LWUIT app but everytime I try to do this, the app send me to a LCDUI window.
  • LWUIT Calendar issue

    I am building a calendar in LWUIT, and I can´t find a way to solve the next problem. When I add my calendar to the form, it shows a month ComboBox , a year ComboBox and the days of the actual month …
  • LWUIT ComboBox Text Color Issue

    The ComboBox text color is white even though I've set it to black in my theme. The text color of TextField is black as supposed to. How come the ComboBox text color isn't black? The theme: fgC…
  • How to get LWUIT bitmap font?

    I want bitmap font for Form from LWUIT component. I create rs file with bitmap font(that is theme file create by Resource Editor.jar). Then I load that file from my MIDlet with following code... The…
  • Why LWUIT ComboBox's blank item is not selectable?

    I created a ComboBox of String[] : genretxt=new ComboBox(new String[]{"Féminin","Masculin"}); The problem is that the popup has a blank item when clicking the ComboBox at runtime , but this bl…
  • dynamic button creation to the form using lwuit 1.4

    public class StateMachine extends StateMachineBase { public Container con1; protected void beforeMainForm(Form f) { con1 = findMenucon(f);<Br> super.beforeMainForm(f);<br> …
  • In Lwuit, How to handle Keypad navigation Events?

    In the application I'm building I have Tabs and a list in for each Tab. the behavior I want is when I press the Left/Right Nav Key the selected Tab will change. when I press the Up/Down Nav Key the …