java app demo