public class paramString implements Testlet
{
public void test(TestHarness harness)
{
JInternalFrame f = new JInternalFrame("Title");
InternalFrameEvent e = new InternalFrameEvent(f,
InternalFrameEvent.INTERNAL_FRAME_ACTIVATED);
harness.check(e.paramString(), "INTERNAL_FRAME_ACTIVATED");
e = new InternalFrameEvent(f, InternalFrameEvent.INTERNAL_FRAME_CLOSED);
harness.check(e.paramString(), "INTERNAL_FRAME_CLOSED");
e = new InternalFrameEvent(f, InternalFrameEvent.INTERNAL_FRAME_CLOSING);
harness.check(e.paramString(), "INTERNAL_FRAME_CLOSING");
e = new InternalFrameEvent(f, InternalFrameEvent.INTERNAL_FRAME_DEACTIVATED);
harness.check(e.paramString(), "INTERNAL_FRAME_DEACTIVATED");
e = new InternalFrameEvent(f, InternalFrameEvent.INTERNAL_FRAME_DEICONIFIED);
harness.check(e.paramString(), "INTERNAL_FRAME_DEICONIFIED");
e = new InternalFrameEvent(f, InternalFrameEvent.INTERNAL_FRAME_ICONIFIED);
harness.check(e.paramString(), "INTERNAL_FRAME_ICONIFIED");
e = new InternalFrameEvent(f, InternalFrameEvent.INTERNAL_FRAME_OPENED);
harness.check(e.paramString(), "INTERNAL_FRAME_OPENED");
e = new InternalFrameEvent(f, InternalFrameEvent.RESERVED_ID_MAX);
harness.check(e.paramString(), "unknown type");
}