If you are familiar with the use of the ITEM class in j2_m3. here, I will share with you a brief introduction to explain to you through examples. I believe this article will surely help you gain some benefits.
Usage of the ITEM class in j2m2.
I. Basic Knowledge
1. The ITEM class is a derived class of the Form class.
2. By changing the instance status of the derived class of the ITEM class, you can interact with the application.
3. The StateChanged method of the ITEM class is different from that of a common trigger. operations that are automatically called when a user changes the State will not be called by the program itself.
Ii. Creation practices
1. Taking ChoiceGroup as an example, if the MIDlet of all application ITEM classes is to handle the State Changes of ITEM classes, the StateChanged method of ITEM classes must be rewritten.
2. Actual Operation
3. Design of The NETBEANS designer