When my application loads, the WindowedApplication part consists of a logon screen. When I login successfully, the WindowedApplication closes using the close() method and a new Window() instance is created and opened containing the full application. Everything that happens from that point forward is taking place inside the Window() instance.
Is there anything wrong doing it this way from a design and best practice point of view?
Should I be running the main application inside the WindowedApplication instance instead or doesn't it matter?