equal
deleted
inserted
replaced
111 * which leads to API change. |
111 * which leads to API change. |
112 * InputEvent.BUTTON_DOWN_MASK may contain only 21 masks due to |
112 * InputEvent.BUTTON_DOWN_MASK may contain only 21 masks due to |
113 * the 4-bytes limit for the int type. (CR 6799099) |
113 * the 4-bytes limit for the int type. (CR 6799099) |
114 * One more bit is reserved for FIRST_HIGH_BIT. |
114 * One more bit is reserved for FIRST_HIGH_BIT. |
115 */ |
115 */ |
116 public final static int MAX_BUTTONS_SUPPORTED = 20; |
116 public static final int MAX_BUTTONS_SUPPORTED = 20; |
117 |
117 |
118 /** |
118 /** |
119 * Creates and initializes EventQueue instance for the specified |
119 * Creates and initializes EventQueue instance for the specified |
120 * AppContext. |
120 * AppContext. |
121 * Note that event queue must be created from createNewAppContext() |
121 * Note that event queue must be created from createNewAppContext() |
1818 |
1818 |
1819 /** |
1819 /** |
1820 * Returns the value of "sun.awt.disableMixing" property. Default |
1820 * Returns the value of "sun.awt.disableMixing" property. Default |
1821 * value is {@code false}. |
1821 * value is {@code false}. |
1822 */ |
1822 */ |
1823 public synchronized static boolean getSunAwtDisableMixing() { |
1823 public static synchronized boolean getSunAwtDisableMixing() { |
1824 if (sunAwtDisableMixing == null) { |
1824 if (sunAwtDisableMixing == null) { |
1825 sunAwtDisableMixing = AccessController.doPrivileged( |
1825 sunAwtDisableMixing = AccessController.doPrivileged( |
1826 new GetBooleanAction("sun.awt.disableMixing")); |
1826 new GetBooleanAction("sun.awt.disableMixing")); |
1827 } |
1827 } |
1828 return sunAwtDisableMixing.booleanValue(); |
1828 return sunAwtDisableMixing.booleanValue(); |