Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Question: Drag and drop tut.

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Question: Drag and drop tut.

    Heya!
    Im new on the forum and on java programming.
    Hope this is the right place to ask my question.
    Anyone know where to find information or any tutorials about drag and drop functions?
    More specific the kind of drag and drop function there is in Netbeans and Visual Studio where the user can drag a button or a textfield into a a panel.
    the button and textfield etc is on the same GUI as the panel where the user can put the stuff.

    Thanks // Pierre


  2. #2
    Forum old-timer
    Join Date
    Nov 2008
    Location
    Faversham, Kent, UK
    Posts
    472
    My Mood
    Mellow
    Thanks
    4
    Thanked 58 Times in 54 Posts

    Default Re: Question: Drag and drop tut.

    Check out the Java Tutorial on drag and drop. You'll need to implement custom transfer and data flavour classes because the provided ones deal with data content rather than whole components, but the framework is quite usable.

  3. #3
    Junior Member
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Question: Drag and drop tut.

    Quote Originally Posted by dlorde View Post
    Check out the Java Tutorial on drag and drop. You'll need to implement custom transfer and data flavour classes because the provided ones deal with data content rather than whole components, but the framework is quite usable.
    That is exactly the stuff i have been looking for! thanks alot m8 <3

Similar Threads

  1. Drag and Drop in JTrees
    By helloworld922 in forum Java Swing Tutorials
    Replies: 4
    Last Post: March 21st, 2014, 11:16 AM
  2. Code require for Drag and drop
    By anujbatta in forum What's Wrong With My Code?
    Replies: 2
    Last Post: May 25th, 2011, 07:54 AM
  3. [SOLVED] Drag and drop in MVC
    By Alice in forum Object Oriented Programming
    Replies: 9
    Last Post: December 9th, 2010, 10:16 PM
  4. Drag and Drop in JTrees
    By helloworld922 in forum AWT / Java Swing
    Replies: 2
    Last Post: January 19th, 2010, 11:51 PM
  5. 'MouseUp' Drag and Drop Events
    By copeg in forum AWT / Java Swing
    Replies: 0
    Last Post: November 10th, 2009, 07:21 PM