question: @ Override public void dragGestureRecognized ( DragGestureEvent evt ) { DragEntry dragEntry = kseFrame . dragSelectedEntry ( ) ; if ( dragEntry == null ) { return ; } ImageIcon icon = dragEntry . getImage ( ) ; Toolkit toolkit = Toolkit . getDefaultToolkit ( ) ; Dimension dim = toolkit . getBestCursorSize ( icon . getIconWidth ( ) , icon . getIconHeight ( ) ) ; BufferedImage buffImage = new BufferedImage ( dim . width , dim . height , BufferedImage . TYPE_INT_ARGB_PRE ) ; icon . paintIcon ( evt . getComponent ( ) , buffImage . getGraphics ( ) , 0 , 0 ) ; cursor = toolkit . createCustomCursor ( buffImage , new Point ( 0 , 0 ) , "keystore-entry" ) ; evt . startDrag ( cursor , new KeyStoreEntryTransferable ( dragEntry ) , this ) ; }
target:  Drag gesture recognized. Start the drag off if valid.