KVM Properties : MIDlet « J2ME « Java Tutorial






public class KVMProperties {

    private static final String[] properties = {
        "microedition.configuration",
        "microedition.encoding",
        "microedition.platform",
        "microedition.profiles"
    };
    
    public static void main(String[] args) {
        for (int i = 0; i < properties.length; i++) {
            System.out.println(properties[i] + " = " +
                                System.getProperty(properties[i]));
        }
    }
}








31.1.MIDlet
31.1.1.Skeleton of a MIDlet
31.1.2.list Capabilitieslist Capabilities
31.1.3.KVM Properties
31.1.4.Retrieving the predefined properties
31.1.5.extends MIDletextends MIDlet
31.1.6.detect and report MIDlet run-time environment
31.1.7.A first MIDlet with simple text and a few commandsA first MIDlet with simple text and a few commands