Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Drag and Drop problem

 
Ranch Hand
Posts: 1139
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is some classes:


AbstractDropManager.java


AnswerClassNew.java


ComponentAdapter.java


DragnDemo.java


DropAdapter.java


DropEvent.java



DropListener.java



DropManagerDemo.java


GlassPane.java



HeaderPanel.java



MotionAdapter.java



Please Compile the class DragnDemo.java, it's successfully compiling and running, bt i need to add the drop listener for more text fields, i mean to say the text field which is visible to the form is one, i need to add more and that drop event should for all text field i will add, can anyone help me this..??


Thanks in advance.
 
Sheriff
Posts: 21997
107
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please condense your problem in a SSCCE. I don't think many people want to copy-paste 11 pieces of code.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/awt-swing/48782-drag-drop-problem.html

Also, credit should be given to the source of the code.
http://code.google.com/p/geometrees/
 
A timing clock, fuse wire, high explosives and a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic