void () { myProperties.mainClass = myMainClass.getText(); myProperties.version = myVersion.getText(); myProperties.copyright = myCopyright.getText(); myProperties.vendor = myVendor.getText(); myProperties.description = myDescription.getText(); myProperties.verbose = myVerbose.isSelected(); }