I\'m working with javax.swing to make an aplication which generates forms from XML Schema (using JAXFront library) and stores the data filled by the user them i
javax.swing
Try adding:
setDefaultCloseOperation(EXIT_ON_CLOSE);
to MyFrame constructor. Not sure though, but worth trying.