NGP Overview Comments

NGP is a wrapper around a number of AWT and Swing classes designed to make the learning process a little easier. NGP means Not GP (which is the old graphics package used by CS15), or Not a real Graphics Package. I do not claim it to be robust or something that is worth using for large scale projects. However, for small projects (like CS15) it is ideal as it takes care of some of the more cumbersome work of using a graphics package.

There is also an NGP Tutorial that can be used to learn about NGP. It includes suggestions on how to move from NGP to real AWT and Swing.

Currently I (Matt Chotin) am the maintainer, so you should mail me if you notice any bugs or have any comments. However, if you're in CS15, be very sure that you have an NGP bug and not with your program. I have written all of the programs using NGP, and they all work fine :-)

The documentation should link correctly to the standard Java API, but for your convenience, it's also linked here. The three relevant files that we use a lot are:

- java.awt.Color
- java.awt.Dimension
- java.awt.Point