n /**
n * Show the value of the properties
n */
n public void startApp() {
n Runtime runtime =
Runtime.getRuntime();
n runtime.gc();
n long free = runtime.freeMemory();
n if( firstTime ) {
n long total = runtime.totalMemory();
n props.append("Free Memory = "
+ free + "\n");
n props.append("Total Memory = "
+ total + "\n");
n
props.append(showProp("microedition.configuration"));
n
props.append(showProp("microedition.profiles"));
n
props.append(showProp("microedition.platform"));
n
props.append(showProp("microedition.locale"));
n
props.append(showProp("microedition.encoding"));
n
n firstTime = false;
n list.setCommandListener(this);
n display.setCurrent(list);
n } else {
n props.set(0, new
StringItem("", "Free Memory = " + free +
"\n"));
n }
n }