src/share/classes/java/awt/dnd/DragSourceContext.java

Print this page

        

*** 470,480 **** * @param targetAct the drop target action * @param status one of the fields <code>DEFAULT</code>, * <code>ENTER</code>, <code>OVER</code>, * <code>CHANGED</code> */ ! protected synchronized void updateCurrentCursor(int sourceAct, int targetAct, int status) { // if the cursor has been previously set then don't do any defaults // processing. --- 470,480 ---- * @param targetAct the drop target action * @param status one of the fields <code>DEFAULT</code>, * <code>ENTER</code>, <code>OVER</code>, * <code>CHANGED</code> */ ! @SuppressWarnings("fallthrough") protected synchronized void updateCurrentCursor(int sourceAct, int targetAct, int status) { // if the cursor has been previously set then don't do any defaults // processing.