This Java tip prints the values of the standard MIDlet application properties to standard output. MIDlet attributes, or properties, are different from system properties. You can define an unlimited number of optional MIDlet attributes in addition to the predefined, required ones.

 /* Prints application properties using the 
   MIDlet.getAppProperty() call.*/

protected void printAppProperties()
{
  System.out.println(getAppProperty("MIDlet-Name"));
  System.out.println(getAppProperty("MIDlet-Jar-Size"));
  System.out.println(getAppProperty("MIDlet-Jar-URL"));
  System.out.println(getAppProperty("MIDlet-Vendor"));
}