package nl.tudelft.dsol.introspection; import nl.tudelft.dsol.introspection.beans.GUIBean; import nl.tudelft.simulation.dsol.swing.introspection.gui.IntroSpectionDialog; import nl.tudelft.simulation.dsol.swing.introspection.gui.ObjectTableModel; import nl.tudelft.simulation.introspection.beans.BeanIntrospector; import nl.tudelft.simulation.introspection.fields.FieldIntrospector; /** * A test program for the GUI package. *

* (c) 2002-2018-2004 Delft University of Technology , the Netherlands.
* See for project information www.simulation.tudelft.nl . *

* Copyright (c) 2002-2019 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights * reserved. See for project information * https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can * be found at * https://simulation.tudelft.nl/dsol/3.0/license.html. *

* @author Niels Lang * Peter Jacobs * @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())); } }