From fb3d21dd264151dce808d7698ee0d8a28d6f227e Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Wed, 08 Aug 2012 09:50:50 +0000 Subject: [PATCH] Przeniesienie menu z osobnej formatki pod przycisk. --- src/brydz/BrydzMIDlet.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/brydz/BrydzMIDlet.java b/src/brydz/BrydzMIDlet.java index c80d0ed..02228f5 100644 --- a/src/brydz/BrydzMIDlet.java +++ b/src/brydz/BrydzMIDlet.java @@ -8,6 +8,7 @@ public class BrydzMIDlet extends javax.microedition.midlet.MIDlet { protected BrydzForm form = null; protected Display display = null; + protected String version = null; public void startApp() { if(this.form == null) { @@ -16,10 +17,14 @@ if(this.display == null) { this.display = Display.getDisplay(this); } + if(this.version == null) { + this.version = this.getAppProperty("MIDlet-Version"); + } this.display.setCurrent(this.form); } public void pauseApp() { + this.form = null; this.notifyPaused(); } -- Gitblit v1.9.1