jdk/src/share/sample/scripting/scriptpad/src/resources/gui.js
changeset 21278 ef8a3a2a72f2
parent 17468 3f804b08dd9f
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   122 /**
   122 /**
   123  * Opens a color chooser dialog box
   123  * Opens a color chooser dialog box
   124  *
   124  *
   125  * @param title of the dialog box [optional]
   125  * @param title of the dialog box [optional]
   126  * @param color default color [optional]
   126  * @param color default color [optional]
   127  * @return choosen color or default color
   127  * @return chosen color or default color
   128  */
   128  */
   129 function colorDialog(title, color) {
   129 function colorDialog(title, color) {
   130     var result;
   130     var result;
   131 
   131 
   132     function _colorDialog() {
   132     function _colorDialog() {