note description : "Root class for this application." author : "Generated by the New Vision2 Application Wizard." date : "$Date$" revision : "1.0.0" class APPLICATION inherit EV_APPLICATION create make_and_launch feature {NONE} -- Initialization make_and_launch -- Initialize and launch application do default_create prepare launch end prepare -- Prepare the first window to be displayed. -- Perform one call to first window in order to -- avoid to violate the invariant of class EV_APPLICATION. local l_window: like first_window do -- create and initialize the first window. create l_window first_window := l_window -- Show the first window. --| TODO: Remove this line if you don't want the first --| window to be shown at the start of the program. l_window.show end feature {NONE} -- Implementation first_window: detachable MAIN_WINDOW -- Main window. end -- class APPLICATION