From b90ec4036fd38261f460690903bfcaabcbaa132a Mon Sep 17 00:00:00 2001 From: yehudah1 Date: Mon, 8 Aug 2016 13:22:01 +0300 Subject: [PATCH] Update ojo.groovy sets the "x" button to terminate the application --- ojo.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ojo.groovy b/ojo.groovy index fd9bcb6..6577cd0 100644 --- a/ojo.groovy +++ b/ojo.groovy @@ -16,7 +16,7 @@ swing.edt { //def password = "your password (if needed)" def baseURL = "http://oss.jfrog.org/artifactory/api/storage/oss-snapshot-local/" - frame(title: 'OJO path checker', size: [800, 200], show: true) { + frame(title: 'OJO path checker', size: [800, 200], show: true,defaultCloseOperation:javax.swing.WindowConstants.EXIT_ON_CLOSE) { borderLayout() def input = textField(columns:10, actionPerformed: {}, constraints:BL.NORTH) def output = label(text: '', preferredSize: [100, 100], constraints: BL.SOUTH)