The painter Mondrian is known for paintings that are made up ofrectangles of different colors arranged together in patterns likethe one below. Write an application that displays a Mondrian-likepicture in a window using JavaFX (you are not allowed to use panelsor frames). There must be at least nine rectangles, and they mustbe aligned so that they fill the window without any gaps. Theremust be at least two different colors, one of them you have tocreate (using the Color class) and at least two different sizes ofrectangles. Use Mondrian as the class name