Component visiblity getting delay while drop the component in the panel in java swing -
in project have used drag , drop functionality drop icon 1st panel 2nd panel. 1st panel contains 3 buttons different icons , 2nd panel added destination (drop place) in desktop pane. while drag , drop have used panel , label place icon in 2nd panel. icon available in label visibility getting delay(nearly 5 - 10 sec) @ first time drag , drop. after there no time delay drag , drop. happens time while start project. have tried repaint() , revalidate() panels still delay there. kindly suggest idea reduce delay.
thanks in advance...
Comments
Post a Comment