Results 1 to 1 of 1
-
Setting and getting custom properties
You can set your own properties using setProperty(…) method of System class.
To clear a property, use clearProperty(…) method.Java Code:System.setProperty("format", "xml"); System.out.println(System.getProperty("format"));
If you try to access a property that is cleared or does not exist, you will get null value.Java Code:System.clearProperty("format");
Similar Threads
-
Custom Avatar
By JavaBean in forum Suggestions & FeedbackReplies: 4Last Post: 01-17-2008, 12:28 AM -
Custom tgs in JSP
By ravian in forum New To JavaReplies: 2Last Post: 12-29-2007, 05:05 PM -
How to use <,>,== on custom classes
By Bojevnik in forum Advanced JavaReplies: 4Last Post: 10-29-2007, 05:00 PM -
Help with custom component
By Falcon1 in forum AWT / SwingReplies: 8Last Post: 07-21-2007, 12:39 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks