NPG developed using Java