CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Drag & Drop

  1. #1
    Join Date
    Jan 1999
    Posts
    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. #2
    Join Date
    May 1999
    Posts
    93

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured