{"action":"closed","issue":{"url":"https://api.github.com/repos/Vincentyification/JavaBot/issues/34","labels_url":"https://api.github.com/repos/Vincentyification/JavaBot/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Vincentyification/JavaBot/issues/34/comments","events_url":"https://api.github.com/repos/Vincentyification/JavaBot/issues/34/events","html_url":"https://github.com/Vincentyification/JavaBot/issues/34","id":54702216,"number":34,"title":"Avoid System.exit","user":{"login":"Zomis","id":1405379,"avatar_url":"https://avatars.githubusercontent.com/u/1405379?v=3","gravatar_id":"","url":"https://api.github.com/users/Zomis","html_url":"https://github.com/Zomis","followers_url":"https://api.github.com/users/Zomis/followers","following_url":"https://api.github.com/users/Zomis/following{/other_user}","gists_url":"https://api.github.com/users/Zomis/gists{/gist_id}","starred_url":"https://api.github.com/users/Zomis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zomis/subscriptions","organizations_url":"https://api.github.com/users/Zomis/orgs","repos_url":"https://api.github.com/users/Zomis/repos","events_url":"https://api.github.com/users/Zomis/events{/privacy}","received_events_url":"https://api.github.com/users/Zomis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Vincentyification/JavaBot/labels/Feature%20Request","name":"Feature Request","color":"84b6eb"},{"url":"https://api.github.com/repos/Vincentyification/JavaBot/labels/Priority:%20High","name":"Priority: High","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"Vogel612","id":7288995,"avatar_url":"https://avatars.githubusercontent.com/u/7288995?v=3","gravatar_id":"","url":"https://api.github.com/users/Vogel612","html_url":"https://github.com/Vogel612","followers_url":"https://api.github.com/users/Vogel612/followers","following_url":"https://api.github.com/users/Vogel612/following{/other_user}","gists_url":"https://api.github.com/users/Vogel612/gists{/gist_id}","starred_url":"https://api.github.com/users/Vogel612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vogel612/subscriptions","organizations_url":"https://api.github.com/users/Vogel612/orgs","repos_url":"https://api.github.com/users/Vogel612/repos","events_url":"https://api.github.com/users/Vogel612/events{/privacy}","received_events_url":"https://api.github.com/users/Vogel612/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-01-18T16:54:48Z","updated_at":"2015-01-31T13:59:12Z","closed_at":"2015-01-31T13:59:12Z","body":"Even though this question is about Swing, it applies here too: http://stackoverflow.com/a/3281935/1310566\r\n\r\nAs I plan on incorporating this in a web-based application, using `System.exit` would be devastating for me. Using System.exit is a mean way of terminating applications. Throw exceptions and/or interrupt threads instead."}}