package nl.tudelft.dsol.introspection; import nl.tudelft.dsol.introspection.beans.GUIBean; import nl.tudelft.simulation.introspection.beans.BeanIntrospector; import nl.tudelft.simulation.introspection.fields.FieldIntrospector; import nl.tudelft.simulation.introspection.gui.IntroSpectionDialog; import nl.tudelft.simulation.introspection.gui.ObjectTableModel; /** * A test program for the GUI package. *
* (c) copyright 2002-2005-2004 Delft University of Technology , the
* Netherlands.
* See for project information www.simulation.tudelft.nl
* License of use: Lesser General Public License (LGPL) , no
* warranty.
* @author Niels Lang Peter Jacobs
* @version 1.1 Apr 15, 2004
* @since 1.5
*/
public final class PTestGUI
{
/**
* constructs a new PTestGUI.
*/
private PTestGUI()
{
super();
// unreachable code
}
/**
* executes the PTestSorter
* @param args the command-line arguments
*/
public static void main(final String[] args)
{
Object introspected = new GUIBean();
new IntroSpectionDialog("Test IntrospectionField introspector", new ObjectTableModel(introspected,
new FieldIntrospector()));
new IntroSpectionDialog("Test Bean introspector", new ObjectTableModel(introspected, new BeanIntrospector()));
}
}