import Drag & Drop package in VJ++
I use Visual J++ for developing.
I'm trying to use Drag & Drop i.e. the java.awt.dnd.* package.
I downloaded the JDK1.3 version and added it to my CLASSPATH.
CLASSPATH=d:\java\jdk1.3\src.jar;
When I try to import the dnd package only the dragsource events and listeners are listed.
The DragSource and TargetSource aren't listed.
I've also tried adding the jdk1.3\src.jar to the CLASSPATH of the project with the same
result.
I've tried extracting all the classes into a directory and the setting the classpath to this directory.
When I then do an import all the classes appear but if you try to use say the DragSource you get "Cannot find definition for 'java.awt.dnd.DragSource'"
If I set the CLASSPATH of the project to the directory and try to compile my project I get
"Cannot load predefined class 'java.lang.Object' for the 1st class in my project.
I've also downloaded the JDK1.4 and copied the src.zip into the windows\java\classes directory renaming it classes.zip
That didn't help either.
I've run out of ideas, for being able to use this package with Visual J++, if anyone has any ideas about getting it to work I'd appreciate it.
TIA
Lynda

