1 jls.loader.provide('jls.gui.GuiUtilities'); 2 3 jls.loader.require('jls.gui.Element'); 4 5 /** 6 * @class A collection of utility methods for the graphical user interface. 7 */ 8 jls.gui.GuiUtilities = jls.gui.require('GuiUtilities'); 9 10 /** 11 * Calls a function synchronously in the GUI message thread. 12 * 13 * @param {Function} fn The function to call. 14 * @returns {Object} The function result if any. 15 * @function 16 * @name invokeAndWait 17 * @memberOf jls.gui.GuiUtilities 18 */ 19 /** 20 * Calls a function asynchronously in the GUI message thread. 21 * 22 * @param {Function} fn The function to call. 23 * @function 24 * @name invokeLater 25 * @memberOf jls.gui.GuiUtilities 26 */ 27