Repository.getDefault()

Source: NetBeans FAQ