package org.opentrafficsim.demo.geometry.shape; import java.awt.Dimension; import java.awt.geom.Rectangle2D; import java.io.IOException; import javax.naming.NamingException; import org.djunits.unit.UNITS; import org.djunits.value.vdouble.scalar.Duration; import org.djunits.value.vdouble.scalar.Time; import org.opentrafficsim.core.dsol.OTSReplication; import nl.tudelft.simulation.dsol.SimRuntimeException; import nl.tudelft.simulation.dsol.animation.D2.AnimationPanel; import nl.tudelft.simulation.dsol.experiment.ReplicationMode; import nl.tudelft.simulation.dsol.gui.swing.DSOLApplication; import nl.tudelft.simulation.dsol.gui.swing.DSOLPanel; import nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit; import nl.tudelft.simulation.dsol.simulators.DEVSAnimator; import nl.tudelft.simulation.dsol.simulators.SimulatorInterface; import nl.tudelft.simulation.event.Event; /** *
* Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See OpenTrafficSim License.
*
* $LastChangedDate$, @version $Revision$, by $Author$,
* initial version Aug 15, 2014
* @author Alexander Verbraeck
*/
public class ShapeTestApplication extends DSOLApplication implements UNITS
{
/**
* @param title String title of the application window
* @param panel DSOLPanel
*/
public ShapeTestApplication(final String title, final DSOLPanel