I am developing a Java ME program. The different forms are located in separate classes. I tried to switch display between main MIDlet and a class and succeeded. How to do the same between two classes? I am just a beginner in Java ME.
I am developing a Java ME program. The different forms are located in separate
Share
I use following code for the same,
First display a static Display variable in Midlet
Now initialize the dislplay variable in class Constructor
Now declare a getDisplay() method in Midlet class
Now you can use this getDisplay() method to get the current Display’s object and then set any class’s form