Published: Oct 26 2012 / 08:12
Use Properties. There are reasons why Preferences are hardly ever used.
Actually its not correct to compare preferences APIs directly with properties file. Preferences APIs stores the preferences, which may change any time. As a user I may wish to save my preferences of look and feel and the application wants to persist it somewhere. Preferences API is a nice way to do that.
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.