List with checkbox using LWUIT
问题 I am using LWUIT for getting a search facility for selection in the List . Now I want to know how can I display the list with CheckBoxes ? list=new List(vector); cform.addComponent(list); cform.addComponent(t); cform.show(); 回答1: I don't know if there is a more simple solution then mine, but mine is highly customizable and can serve for a lot of purposes. List l = new List; Vector v = new Vector(); for(int i = 0; i < 10; ++i){ v.addElement(new CheckItem("itemtekst")); } l.setListCellRenderer