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 / General / February 2007

Tip: Looking for answers? Try searching our database.

rearrangable JList

Thread view: 
rmacnak - 23 Feb 2007 02:20 GMT
How might one go about implementing drag-n-drop rearrangablity for a
JList?  Or does the API provide for this and I'm just not seeing it?

Thanks.
Andrew Thompson - 23 Feb 2007 03:16 GMT
> How might one go about implementing drag-n-drop rearrangablity for a
> JList?  

The same was as for a List (TextArea, JPanel..).
<http://java.sun.com/docs/books/tutorial/dnd/index.html>

> ..Or does the API provide for this and I'm just not seeing it?

No.

Andrew T.
Andrew Thompson - 23 Feb 2007 03:21 GMT
(D'n'D)

> > ..Or does the API provide for this and I'm just not seeing it?
>
> No.

Or rather, not in a way that it is
possible to simply 'turn it on'.

The DnD API was rather daunting for me
when I first encountered it, and it
seems to take a lot of lines of code
to get D'n'D working on a single
component.

I have a few apps. that use it, but none
that is well suited to being a simple
example of the DnD API.

Andrew T.


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.