Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / May 2005

Tip: Looking for answers? Try searching our database.

Is there a way to drag and drop from a JList without having to first select an item in the list?

Thread view: 
janderson - 10 May 2005 15:53 GMT
I have enabled Drag and Drop in a JList (I'm running j2sdk 1.4.2).  I
did a setDragEnabled(true) on the JList, and also a
setTransferHandler().  It works except that I have to first click to
select an item in the list and then click drag to start the drag and
drop operation.  Is there enable drag and drop on a JList without
having to first select an item in the list?

Thanks,
J. Anderson
Mikael Flensborg - 11 May 2005 10:53 GMT
> I have enabled Drag and Drop in a JList (I'm running j2sdk 1.4.2).  I
> did a setDragEnabled(true) on the JList, and also a
[quoted text clipped - 5 lines]
> Thanks,
> J. Anderson

One of the most annoying Swing bugs:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4521075

#6 Most popular bug in suns bug database

Wonder if they ever fix it..

/Mikael


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.