Here you can find the source of getDefaultCurrency()
public static Currency getDefaultCurrency()
//package com.java2s; //License from project: Open Source License import java.text.NumberFormat; import java.util.*; public class Main { public static Currency getDefaultCurrency() { return NumberFormat.getNumberInstance(Locale.getDefault()).getCurrency(); }//from w w w . j ava2s . c o m }