How i can change a variable in the main class from the class with gui?

Printable View