| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Java Programming Ask your Java programming question and help out others with theirs. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Drag & Drop
I need to know how to get Drag & Drop fuctionality in Java. I hear that Swing and Microsoft Visual J++ 6.00 has it but I'm using Sun's Java 1.1 and Symantec Visual Cafe 2. I realise that Drag & Drop between my Java application and Windows 95/NT isn't straight forward, but even how to do it between the applications own windows would be a start. Also and info on any neat stuff I could do in a project like mine would be appreciated, how to work with more than .GIF's and .JPG's for example. The project I am doing is an Electronic Photo Album and you can check out some of my groups progress at http://homepage.tinet.ie/~jpneville/ where you will find a link to Electronic Photo Album (check out these pages anyway 'cause they got an award). Thanks for any help, Albert. |
|
#2
|
|||
|
|||
|
Re: Drag & Drop
Swing for JDK 1.1 does not have support for Drag & Drop. I am sure it can still be done but may require some native code (not a very attractive idea). You might want to consider some interim user interface. E.g. right click on source then right click on target. If and when you move to JDK 1.2, you'll get built in support for it. |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|