aplication that creates menus and windows on the fly (javafx)