JDK-6436908 : Swing DnD: Consider adding getDropLocation() to JComponent
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2006-06-09
  • Updated: 2010-04-02
  • Resolved: 2006-12-05
Related Reports
Duplicate :  
Description
As of Mustang, JList, JTree, JTable and JTextComponent now have a getDropLocation() method and they fire "dropLocation" propertyChange events when the location changes. This is useful to allow painting of the drop location.

Other components would likely also benefit from the addition of a getDropLocation() and "dropLocation" propertyChange, so that developers can do custom painting based on the drop location. This should be done in such a way that it doesn't prevent us from adding custom DropLocation subclasses to components as they're needed.

Comments
EVALUATION I'm closing this as a duplicate and fixing under 6448332.
05-12-2006

EVALUATION Fixing this together with 6448332.
02-12-2006

EVALUATION I filed it, I agree.
09-06-2006