The inspector is a simple Object inspector.  It allows you to inspect objects at runtime, seeing their public, protected and private variables.  

Generally you use one of

	Inspector.inspect( some object) 
	Inspector.inspectAndWait( some object).  

The second method does not return until the inspector window is closed. You can also create an Inspector panel directly by creating a new Inspector instance.  The inspector extends JPanel.

The program uses the reflection and swing API's and requires jdk1.2 or greater.

The values that the inspector shows are created dynamically.  That is if you open an inspector window on an object, and change the values of the objects fields, then when you display the fields in the inspector the new values will be used.  

At times the structor of an object will change.  For instance if you have a Component field called comp, with a reference to a Button object when the inspector window is created, then change comp to be a JButton, the hierarchy of the inspector tree will change.  If this happens the inspector tree will collapse and refresh itself.

To test, run test.bat

Report bugs to 
	sbridges@geocities.com
get the latest version at 
	www.geocities.com/sbridges.geo




Change history
Sept 29, 2000 created
Oct 5, 2002, updated to work with jdk1.4, added CollectionNode and MapNode classes