Obliczenia brydżowe (Java ME)
Jacek Kowalski
2012-08-07 bf2df04c8c12760206ea1d5be5c7e008123cc695
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package brydz;
 
import javax.microedition.lcdui.*;
 
/**
 *
 */
public class BrydzMIDlet extends javax.microedition.midlet.MIDlet {
    protected BrydzForm form = null;
    protected Display display = null;
    
    public void startApp() {
        if(this.form == null) {
            this.form = new BrydzForm(this);
        }
        if(this.display == null) {
            this.display = Display.getDisplay(this);
        }
        this.display.setCurrent(this.form);
    }
    
    public void pauseApp() {
        this.notifyPaused();
    }
    
    public void destroyApp(boolean unconditional) {
        this.notifyDestroyed();
    }
}