Safety Property: WindowWarningString

property WindowWarningString {  
    requires WindowNames;

    check RDisplay.displayWindow (w: RWindow) {
        if (w.getName () == null 
            || !w.getName ().equals ("Warning: Applet Window")) {
            violation ("Attempt to create window without proper warning.");
        }
    }
}

About this file

Naccio Home Page
David Evans
University of Virginia, Computer Science