Create a window application