Catch exceptions in javax.swing application

前端 未结 3 420
醉酒成梦
醉酒成梦 2021-01-12 19:41

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

3条回答
  •  难免孤独
    2021-01-12 20:04

    Try adding:

    setDefaultCloseOperation(EXIT_ON_CLOSE);
    

    to MyFrame constructor. Not sure though, but worth trying.

提交回复
热议问题