From 67d931ba96c0e37f439940809813c5179b139bb5 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 16 Aug 2015 22:30:25 +0000 Subject: [PATCH] Add SVG icon file --- src/brydz/BrydzMIDlet.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/brydz/BrydzMIDlet.java b/src/brydz/BrydzMIDlet.java index c80d0ed..5d7ae43 100644 --- a/src/brydz/BrydzMIDlet.java +++ b/src/brydz/BrydzMIDlet.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2012, Jacek Kowalski (http://jacekk.info) + * Wszystkie prawa zastrzeżone + * + * Licencja w pliku BSD-3.txt + */ + package brydz; import javax.microedition.lcdui.*; @@ -8,6 +15,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 +24,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