i created a simple program using j2me
when the user input number[1-9], the element that corresponds to the input is highlighted..
i use choicegroup..
how to do it??
i created a simple program using j2me
when the user input number[1-9], the element that corresponds to the input is highlighted..
i use choicegroup..
how to do it??
What you need to use is setSelectedIndex(int elementNum,boolean selected) where you provide element number/index and boolean as TRUE.Do not forget to make your ChoiceGroup as Choice.EXCLUSIVE
in my application its necessary to use Choice.MULTIPLE...
when i set selected as true the element will be check but it is false nothing happen.
i want the element to be highlighted not checked and when the element is highlighted i want to pop it up on the form
is it possible???how to do it??
Then you have to write CustoItem as per your requirments
could you give me some code using customitem???thnks...
I do not want to be rude, but is it so hard to google for "midlet customitem example"?
Here are 2 general sources to start from Using Custom Items in MIDP 2.0 and Adding Custom Items to MIDP 2.0 Forms
thnks...i appreciate ur help...it helps me a lot...
thnks...i appreciate ur help...it helps me a lot...
Well I would appreciate if you adhere to forum rules and use proper language too.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.