This content has been marked as final. Show 2 replies
I'm afraid it's not possible with default Form. If you want this functionality, use some more advanced UI library (or build your own).
For example thw LWUIT: [http://www.oracle.com/technetwork/java/javame/tech/lwuit-141954.html|http://www.oracle.com/technetwork/java/javame/tech/lwuit-141954.html] where you can enable/disable various components on screen and much more.
Try setItemCommandListener on your ChoiceGroup object.
In it's CommandAction method you will check if such menu item is selected and only after that you will append another ChoiceGroup object. I didn't try this. But you can ;-)
I hope this will heko you :-)