Friday, April 18, 2008

Uses of Drag and Drop feature

Now a days the fancy n yet useful feature is drap and drop...
Eclipse(swt/jface) and other frame works supports drag and drop widely...


The way in which we drag drop files in windows , similarly its a gud to have feature for desktop applications as well..say u have a viewer(widget to display data) and u want to fill some data present in a file in that viewer in the form of a table ...instead of asking user to browse through file dialog...its gud to support drag and drop feature from any location in file system onto the application...Surprisingly u can do this minimal lines of code...

No comments: