< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XToolkit.java

Print this page

        

*** 403,413 **** private Point lastCursorPos; /** * Returns whether there is last remembered cursor position. The * position is remembered from X mouse events on our peers. The ! * position is stored in <code>p</code>. * @return true, if there is remembered last cursor position, * false otherwise */ boolean getLastCursorPos(Point p) { awtLock(); --- 403,413 ---- private Point lastCursorPos; /** * Returns whether there is last remembered cursor position. The * position is remembered from X mouse events on our peers. The ! * position is stored in {@code p}. * @return true, if there is remembered last cursor position, * false otherwise */ boolean getLastCursorPos(Point p) { awtLock();
*** 1663,1677 **** } /** * Callback from the native side indicating some, or all, of the * desktop properties have changed and need to be reloaded. ! * <code>data</code> is the byte array directly from the x server and * may be in little endian format. * <p> * NB: This could be called from any thread if triggered by ! * <code>loadXSettings</code>. It is called from the System EDT * if triggered by an XSETTINGS change. */ void parseXSettings(int screen_XXX_ignored,Map<String, Object> updatedSettings) { if (updatedSettings == null || updatedSettings.isEmpty()) { --- 1663,1677 ---- } /** * Callback from the native side indicating some, or all, of the * desktop properties have changed and need to be reloaded. ! * {@code data} is the byte array directly from the x server and * may be in little endian format. * <p> * NB: This could be called from any thread if triggered by ! * {@code loadXSettings}. It is called from the System EDT * if triggered by an XSETTINGS change. */ void parseXSettings(int screen_XXX_ignored,Map<String, Object> updatedSettings) { if (updatedSettings == null || updatedSettings.isEmpty()) {
*** 1924,1943 **** } static native void wakeup_poll(); /** ! * Registers a Runnable which <code>run()</code> method will be called * once on the toolkit thread when a specified interval of time elapses. * ! * @param task a Runnable which <code>run</code> method will be called ! * on the toolkit thread when <code>interval</code> milliseconds * elapse * @param interval an interal in milliseconds * ! * @throws NullPointerException if <code>task</code> is <code>null</code> ! * @throws IllegalArgumentException if <code>interval</code> is not positive */ static void schedule(Runnable task, long interval) { if (task == null) { throw new NullPointerException("task is null"); } --- 1924,1943 ---- } static native void wakeup_poll(); /** ! * Registers a Runnable which {@code run()} method will be called * once on the toolkit thread when a specified interval of time elapses. * ! * @param task a Runnable which {@code run} method will be called ! * on the toolkit thread when {@code interval} milliseconds * elapse * @param interval an interal in milliseconds * ! * @throws NullPointerException if {@code task} is {@code null} ! * @throws IllegalArgumentException if {@code interval} is not positive */ static void schedule(Runnable task, long interval) { if (task == null) { throw new NullPointerException("task is null"); }
< prev index next >