aboutsummaryrefslogtreecommitdiff
path: root/src/share/sample/scripting/scriptpad/src/scripts/browse.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/sample/scripting/scriptpad/src/scripts/browse.js')
-rw-r--r--src/share/sample/scripting/scriptpad/src/scripts/browse.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/share/sample/scripting/scriptpad/src/scripts/browse.js b/src/share/sample/scripting/scriptpad/src/scripts/browse.js
index cd03f904fc..3bbc457f5c 100644
--- a/src/share/sample/scripting/scriptpad/src/scripts/browse.js
+++ b/src/share/sample/scripting/scriptpad/src/scripts/browse.js
@@ -30,6 +30,15 @@
*/
/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
* This function uses new Swing Desktop API in JDK 6.
* To use this with scriptpad, open this in scriptpad
* and use "Tools->Run Script" menu.