@@ -0,0 +1,724 @@
+/*%0A * This snippet show how to set and get properties.%0A *%0A * For more information, read %22Le guide de survie Java%22 (chap. 2)%0A * (by Timothy Fisher, ed. CampusPress)%0A *%0A * Usage:%0A * - compile: javac Properties.java%0A * - execute: java Properties%0A */%0A%0Apublic class Properties %7B%0A    public static void main(String %5B%5D args) %7B%0A%0A        String timezone;%0A        %0A        // Get the timezone property%0A        timezone = System.getProperty(%22timezone%22);%0A        System.out.println(timezone);%0A%0A        // Set the timezone property%0A        System.setProperty(%22timezone%22, %22EsternStandardTime%22);%0A        %0A        // Get the timezone property%0A        timezone = System.getProperty(%22timezone%22);%0A        System.out.println(timezone);%0A    %7D%0A%7D%0A

Add a snippet (java).