261 SunDragSourceContextPeer.convertModifiersToDropAction(modifiers,
262 sourceActions);
263
264 DragSourceDragEvent event =
265 new DragSourceDragEvent(getDragSourceContext(),
266 dropAction,
267 targetAction & sourceActions,
268 modifiers, x, y);
269 EventDispatcher dispatcher = new EventDispatcher(dispatchType, event);
270
271 SunToolkit.invokeLaterOnAppContext(
272 SunToolkit.targetToAppContext(getComponent()), dispatcher);
273
274 startSecondaryEventLoop();
275 }
276
277 /**
278 * upcall from native code
279 */
280
281 private void dragEnter(final int targetActions,
282 final int modifiers,
283 final int x, final int y) {
284 postDragSourceDragEvent(targetActions, modifiers, x, y, DISPATCH_ENTER);
285 }
286
287 /**
288 * upcall from native code
289 */
290
291 private void dragMotion(final int targetActions,
292 final int modifiers,
293 final int x, final int y) {
294 postDragSourceDragEvent(targetActions, modifiers, x, y, DISPATCH_MOTION);
295 }
296
297 /**
298 * upcall from native code
299 */
300
301 private void operationChanged(final int targetActions,
|
261 SunDragSourceContextPeer.convertModifiersToDropAction(modifiers,
262 sourceActions);
263
264 DragSourceDragEvent event =
265 new DragSourceDragEvent(getDragSourceContext(),
266 dropAction,
267 targetAction & sourceActions,
268 modifiers, x, y);
269 EventDispatcher dispatcher = new EventDispatcher(dispatchType, event);
270
271 SunToolkit.invokeLaterOnAppContext(
272 SunToolkit.targetToAppContext(getComponent()), dispatcher);
273
274 startSecondaryEventLoop();
275 }
276
277 /**
278 * upcall from native code
279 */
280
281 protected void dragEnter(final int targetActions,
282 final int modifiers,
283 final int x, final int y) {
284 postDragSourceDragEvent(targetActions, modifiers, x, y, DISPATCH_ENTER);
285 }
286
287 /**
288 * upcall from native code
289 */
290
291 private void dragMotion(final int targetActions,
292 final int modifiers,
293 final int x, final int y) {
294 postDragSourceDragEvent(targetActions, modifiers, x, y, DISPATCH_MOTION);
295 }
296
297 /**
298 * upcall from native code
299 */
300
301 private void operationChanged(final int targetActions,
|